ÕâÒ³±£´æÊÇÓà WebZIP 7.0.0.1025 ÔÚ 07/16/13 12:16:52.
µØÖ·: http://man.chinaunix.net/unix/IBM/as400/chpt07.htm
±êÌâ: ·µ»Ø×ÜĿ¼  •  ´óС: 2854915
<< Back to man.ChinaUnix.net   CUÍøÓÑÔ­´´£¬×ªÔØÇë×¢Ã÷³ö´¦ChinaUnix.net¼°×÷Õß

·µ»Ø×ÜĿ¼

 

7     ¾­Ñé¹²Ïí-- 26

7.1ϵͳ²¿·Ö    26

7.2³ÌÐò¿ª·¢²¿·Ö... 26

7.2.1       ÓйØRPGLEÖÐÈÕÆÚÐÍÊý¾ÝµÄÓ÷¨       *from code400.com- 26

7.2.2       ÈóÌÐò°ÚÍÑָʾÆ÷-- 26

7.2.2.1        ÄÚÖú¯ÊýBIF- 26

7.2.2.2        ÓÃP-fieldsѱ·þÄãµÄDDS- 26

7.2.2.3        ¶¨Î»¹â±ê-- 26

7.2.2.4        ÅжÏÓû§°´ÏÂÁËʲô¼ü-- 26

7.2.2.5        ÏÔʾ³ö´íÏûÏ¢-- 26

7.2.2.6        ×ܽá-- 26

7.2.3       »ù±¾µÄSUBFILEµÄʹÓÃ-- 26

7.2.4       ÈçºÎÔÚAS400д½ø¶ÈÌõ£¿-- 26

7.3             ÈçºÎ¼ì²â¼°·ÖÎöϵͳÐÔÄÜ£¿... 26

7.4             ÈçºÎÔÚÓ¦ÓóÌÐòÖÐУÑéÓû§ÃÜÂ룿... 26

7.5             ÈçºÎÖªµÀODBCµÄÕæÕýʹÓÃÕߣ¿... 26

7.6            ÈçºÎ½«±¨±í(Spooled File)ʹÓÃe-mail´«ÊäÖÁʹÓÃÕß... 26

7.7             ±¨±íÉè¼Æ¹¤¾ß£¨RLU£©... 26

7.8             ÀûÓÃRLUÉè¼Æ´òÓ¡Îļþ... 26

7.9             ÈçºÎ¼à¿ØÒÔ¼°¿ØÖÆODBCµÄÊý¾Ý´«Êä?. 47

7.9.1       ¿ÉÒÔͨ¹ýExit ProgramÀ´¼à¿Ø-- 47

7.9.2       ͨ¹ýµ¼º½Æ÷ÏÞÖÆODBCÒÔ¼°FTPÊý¾Ý´«Êä-- 47

7.9.3       OS/400Ö÷ÒªµÄϵͳ×÷ÒµµÄÓÃ;-- 47

7.9.4       Code Pages and Character Sets for the CCSIDs 47

7.¾­Ñé¹²Ïí

7.1ϵͳ²¿·Ö

7.2³ÌÐò¿ª·¢²¿·Ö

7.2.1   ÓйØRPGLEÖÐÈÕÆÚÐÍÊý¾ÝµÄÓ÷¨
     
*from code400.com

     H*-----------------------------------------

     H* %MSeconds %Seconds, %Minutes, %Hours,

     H* %Days, %Months, and %Years.

     H* %Date, %Time, and %TimeStamp

     H*

     H*

     H*

     H*

     H*-----------------------------------------

     D*-----------------------------------------

     D* Program Info

     D*-----------------------------------------

     D                SDS

     D  @PGM                 001    010

     D  @PARMS               037    039  0

     D  @JOB                 244    253

     D  @USER                254    263

     D  @JOB#                264    269  0

     D*

     D*  Field Definitions.

     D*

     D ISOdate         S               D

     D USAdate         S               D   DatFmt(*USA)

     D XMASDate        S               D   Inz(D'2003-12-25')

     D LogonDate       S               D

     D Date_Start      S             15

     D MonthNames      S             12    Dim(12) CtData

     D Date_String     S             40

 

      *

      * Time Stamp

      *

     DTimeStamp        S               Z

      *

     D WorkISO         S               D

     D Month           S              2  0

     D Day             S              2  0

     D Year            S              4  0

     D Decimal8        S              8  0

     D LogMonth        S              2  0

     D LogDay          S              2

     D LogYear         S              4  0

     D NextMonth       S               D

     D EndOfMonth      S               D

      *

      * Variables for free RPG example + some above

      *

     D DateIn          S               D

     D FromISO         S               D

     D ToISO           S               D

     D DiffDays        S              3  0

     D WorkField       S              5  0

     D Name            S              9    Based(NamePtr)

     D Name2           S              9

     D NamePtr         S               *   Inz(%ADDR(Names))

     D Names           S             63    Inz('Sunday   Monday   Tuesday  Wedn+

     D                                     esdayThursday Friday   Saturday ')

     D*

     D* RPG-defined date formats and separators for Date data type

     D*

      * 2-Digit Year Formats

      * *MDY  Month/Day/Year  mm/dd/yy  8  09/26/03

      * *DMY  Day/Month/Year  dd/mm/yy  8  26/09/03

      * *YMD  Year/Month/Day  yy/mm/dd  8  03/09/26

      * *JUL  Julian          yy/ddd    6  03/926

     C*=====

      * 4-Digit Year Formats

      * *ISO  Int Standards Org yyyy-mm-dd  10  2003-09-26

      * *USA  IBM USA Standard  mm/dd/yyyy  10  09/26/2003

      * *EUR  IBM European Std  dd.mm.yyyy  10  26.09.2003

      * *JIS  Japan Indst Std   yyyy-mm-dd  10  2003-09-26

      *

      *

     C*

      *

      * Okay first lets get todays date

      * For display purposes the date is now

      *      Friday September 26th 2003

      *  so date now looks like this 2003-09-26

      *  because the default date type is *ISO

      *

     C                   Eval      ISOdate = %Date()

      *

      *  Now that I have the date in a date format

      *  (*ISO) I can do stuff to it.

      *  Once I move this date to a decimal 8,0 field

      *  the date is now in format 20030926

      *  Not very exciting..yet

      *

     C                   Move      ISODate       Decimal8

      *

      *  Now back to the *ISO date  lets add

      *  1 month to the date.

      *  date after will equal 2003-10-26

      *  %days and % years works the same as %months

      *

     C                   Eval      WorkISO  = ISODate + %Months(1)

      *

      *  Logon date is set equal to today then the month is extracted

      *  the "*M" is the same as "*Months"  LogMonth = 09.

      *                                     LogDay   = 26.

      *

     C                   Eval      LogonDate =  %Date()

     C                   Extrct    LogonDate:*Y  LogYear

     C                   Extrct    LogonDate:*M  LogMonth

     C                   Extrct    LogonDate:*D  LogDay

      *

      *  Build the date string - Later we will add the day name

      *

     C                   Eval      Date_String =

     C                              %Trim(MonthNames(LogMonth))

     C                              + %trim('@') + %Trim(LogDay)

     C                              + %trim(',@') + %Char(LogYear)

      *

      *  convert the "@" back to *Blanks

      *  Date_String = 'September 26, 2003'

      *

     C     '@':' '       Xlate     Date_String   Date_String

      *

      * TimeStamp = yyyy-mm-dd-hh.mm.ss.mmmmmm (length 26).

      * TimeStamp = '2003-09-26-15.16.26.531000'

      *

     C                   Eval      TimeStamp = %TimeStamp()

      *

      *  Free Format date stuff   By the way Name2 = 'Friday'

      *

      /Free

        DateIn   = %Date()                     ;

        ISODate  = %Date()                     ;

        ISODate  = DateIn                      ;

        Year     = %Subdt(ISODate:*Y)          ;

        Month    = %Subdt(ISODate:*M)          ;

        Day      = %Subdt(ISODate:*D)          ;

        FromISO  = ISODate - %YEARS(1)         ;

        ToISO    = ISODate                     ;

        DiffDays = %Diff(ToISO:FromISO:*DAYS)  ;

        ISODate  = DateIn                      ;

 

        WorkField = %Diff(ISODate:D'1899-12-31':*DAYS);

        WorkField = %REM(WorkField:7);

 

        NamePtr = NamePtr + (WorkField * 9);

        Name2 = Name;

      /End-Free

      *

      *  Build the date string - With The Day Name

      *  DATE_STRING = 'Friday  September 26, 2003              '

      *

     C                   Eval      Date_String =

     C                              %trim(Name) + %Trim('@@')

     C                              + %trim(MonthNames(LogMonth))

     C                              + %trim('@') + %Trim(LogDay)

     C                              + %trim(',@') + %Char(LogYear)

     C                   Eval      Date_String = %Xlate('@':' ':Date_String)

      *

      * Calculate the last day of the month

      * ENDOFMONTH = '2003-09-30'

      *

     C     ISODate       AddDur    1:*Months     NextMonth

     C                   Extrct    NextMonth:*D  DiffDays

     C     NextMonth     SubDur    DiffDays:*D   EndOfMonth

 

 

     C                   Eval      *INLR = *On

     C*----------------------------------------------------

** CTDATA MonthNames

January

February

March

April

May

June

July

August

September

October

November

December

 

 

7.2.2           ÈóÌÐò°ÚÍÑָʾÆ÷

 
   
* reference:<go indicatorless in RPG> By Paul Ladouceur

Ò»Ö±ÒÔÀ´£¬Ö¸Ê¾Æ÷£¨indicators£©¶¼ÊÇrpg³ÌÐòÖкÜÖØÒªµÄÒ»²¿·Ö¡£µ«ÊÇ£¬ÎÒÃÇÓ¦¸ÃÈÏʶµ½£¬ÊôÓÚָʾÆ÷µÄ±à³Ìʱ´úÒѾ­¹ýÈ¥ÁË£¬ÎÒÃÇÓ¦¸ÃÓÃ21ÊÀ¼ÍµÄ±à³Ì·½Ê½¡£

Ϊʲô±»ÌÔÌ­£¿

    ָʾÆ÷×î´óµÄȱµã¾ÍÊÇÖ»ÄÜÓÐ99¸öµÄÏÞÖÆ¡£È»¶øʵ¼ÊÉÏ,ÎÒÃǵijÌÐòÂß¼­£¬ÎļþµÄI/OÈç¹ûÈ«²¿¶¼¿¿Ö¸Ê¾Æ÷¿ØÖƵĻ°,¸´ÔÓЩµÄ³ÌÐò¾Í»áÏԵò»¹»ÓÃÁË¡£
    ÁíÍ⣬һ´ó¶ÑÊý×ÖָʾÆ÷»ìÔÓÔÚ³ÌÐòÖУ¬¿´ÆðÀ´ÊµÔÚÊÇÒ»¼þºÜÐÁ¿àµÄÊÂÇé¡£Ò²ÐíÄã»áÖªµÀ03±íʾF3,F3±íʾÓû§ÒªÍ˳öµ±Ç°³ÌÐò£¬¿ÉÊÇÄãÔõô֪µÀ*IN23,*IN24,*IN25·Ö±ð±íʾʲôÄØ£¿

7.2.2.1           ÄÚÖú¯ÊýBIF

Ê×ÏÈÎÒÃÇÒª¿ªÊ¼°ÚÍÑָʾÆ÷µÄµØ·½¾ÍÊÇC-Specs.ͨ³££¬µ±¶ÔÎļþ½øÐÐI/O²Ù×÷µÄʱºò£¬ÐèÒªÒ»¸ö»òÕ߶à¸öÖ»ÊÇÆðÀ´±íʾ¸Ã²Ù×÷µÄ״̬£¬ÔÚRPG IVÖУ¬¿ÉÒÔÓÃ%EOF,%FOUND,%EQUAL,%OPENµÈµÈÕâЩÄÚÖú¯ÊýÀ´ÊµÏÖÕâЩ¹¦ÄÜ¡£ËûÃÇ·µ»ØÒ»¸öÀàËÆָʾÆ÷µÄÂß¼­Öµtrue(*on) »òÕßfalse(*off).

ÏÂÃæÊÇһЩÄÚÖµº¯ÊýµÄÀý×ÓÒÔ¼°µÈЧµÄָʾÆ÷Ó÷¨¡£***************************************************

   Traditional Way of Handling I/O

C CusKey Setll Customer 5350
C If *IN50
C Do *Hival
C CusKey Reade CustomerR 5351
C If *IN51
C Leave
C Endif
C If *IN53
C Message1 Dsply
C Leave
C Endif
C CrdKey Chain CreditCdR 5253
C If *IN52 = *On or *IN53
C Message2 Dsply
C Leave
C Endif
C Enddo
C Endif

   Indicatorless Way


 

C CusKey Setll(e) Customer
C If %Equal(Customer)
C Do *Hival
C CusKey Reade(e) CustomerR
C If %Eof
C Leave
C Endif
C If %Error
C Message1 Dsply
C Leave
C Endif
C CrdKey Chain (e) CreditCDR
C If Not %Found(CreditCD) or %Error
C Message2 Dsply
C Leave
C Endif
C Enddo
C Endif

ÁíÍ⣬ֵµÃÒ»ÌáµÄÊÇ%ErrorÕâ¸öÄÚÖú¯Êý¡£Äã±ØÐëÔÚÊäÈë/Êä³ö²Ù×÷ºóÃæ´øÉÏÀ©Õ¹·û£¨e£©¡£µ±I/O·¢Éú´íÎóµÄʱºò£¬Ëü·µ»Øtrue.±ÈÈçÔÚ¶ÁÊý¾Ý¿âÎļþµÄʱºò£¬%ErrorµÄֵΪtrue,ÄÇô¿ÉÄÜÊÇÒòΪ¼Ç¼±»Ëøס¡£ÎªÁËÕÒµ½ÎÊÌâËùÔÚ£¬Äã¿ÉÒÔÓÃ%StatusÀ´·µ»Ø´íÎó´úÂë¡£

7.2.2.2           ÓÃP-fieldsѱ·þÄãµÄDDS

ÏÔʾÎļþ£¨DSPF£©Ò»°ã¶¼»áÓõ½ºÜ¶àָʾÆ÷¡£ÏÂÃæµÄ´úÂëÖУ¬¶¨ÒåÁ˸÷ÖÖÏÔʾÎļþÖÐÓõ½µÄ¹Ø¼ü×ÖµÄָʾÆ÷£º

F CUSTD CF E  WORKSTN  INFDS(Indicators)
 
  Declare Named Indicators

DIndicators DS Based(IndicatorP)
D SFLNXTCHG 8 8
D SFLCLR 40 40
D SFLCTLDSP 41 41
D SFLDSP 42 42
D SFLINZ 43 43
DIndicatorP S * Inz(%Addr(*In))

»òÕßÎÒÃÇ¿ÉÒÔÕâÑù:

F CUSTD CF E  WORKSTN  INFDS(Indicators)

  Declare Named Indicators

DIndicators DS
D SFLNXTCHG 8 8N

D SFLCLR 40 40N
D SFLCTLDSP 41 41N
D SFLDSP 42 42N
D SFLINZ 43 43N

Óï¾äEVAL SFLNXTCHG = *On¾Íʹ*IN08µÄ״̬±äΪ*on.ÊÇÓÃ×Ö¶ÎÃû´úÌæָʾÆ÷£¬ÄÜʹÄãµÄ³ÌÐò¸ü×ÔÓÉÒ׶®¡£¿ÉÒÔ¿´³ö£¬ÕâÖÖ·½·¨Êµ¼ÊÉÏÏ൱ÓÚΪָʾÆ÷È¡Á˸öºÃÌýÒ׶®µÄÃû×Ö¡£ÎÒÃÇÔÚ±à³Ì¹ý³ÌÖоÍÄÜ°ÑËüÃÇ×÷ΪÆÕͨµÄÂß¼­±äÁ¿À´Ê¹ÓÃÁË£¨ÕâÀï˵ËûÃÇÊÇÂß¼­±äÁ¿Êµ¼ÊÉÏÊDZíʾËûÃǵÄÖµÖ»ÓС¯1¡¯ºÍ¡¯0¡¯Á½ÖÖ״̬£¬Ï൱ÓÚÂß¼­Öµtrue /false£©¡£

    ͬÀí£¬ÎÒÃÇÈç¹ûÔÚ³ÌÐòÀïÃæÒª°Ñÿ¸ö¹¦ÄܼüºÜÈÝÒ׵ķÝÇå³þ£¬¿ÉÒÔ¶¨Ò壺
D F03 03 03N
D F05 05 05N
D F12 12 12N
   
ÔÚÕâ֮ǰ£¬ÎÒÃÇ»¹ÊÇÐèÒªÔÚDSPFÀïÃæ°ÑCA03Óë*In03¹ØÁª£¬ÕâÑùµ±ÎÒÃǾͿÉÒÔÔÚ³ÌÐòÀïÃæʹÓÃÕâÑùµÄÃèÊö£º
IF  F03
EVAL INLR=*ON
ENDIF

Äã¿ÉÒÔÓÃprogram-to-system fields£¨P-fields£©À´´úÌæָʾÆ÷¿ØÖÆÒ»¸öÀ¸Î»ÔÚ»­ÃæÉϵÄÏÔʾ¡£
    P-fields
ÓÃÀ´¿ØÖÆÏÔʾµÄÀ¸Î»µÄÊôÐÔ¡£Ê×ÏÈ£¬ÎªÄãÒª¿ØÖƵÄÀ¸Î»ÁíÍâÔÙ¶¨ÒåÒ»¸öÀ¸Î»£¬È磬ÄãÒª¿ØÖƵÄÀ¸Î»ÊÇCUST#,ÄÇôÄãÔÙ½¨Ò»¸öP-field @CUST#£¬µ±È»Äã¿ÉÒÔÓÃÆäËüÄãϲ»¶µÄÃû×Ö¡£Äã¿ÉÒÔÓÃÕâ¸öÀ¸Î»À´¿ØÖÆPR£¬RI,BLµÈËùÓеÄÊôÐÔ¡£

ÏÂÃæÊdzÌÐòÖжÔP-fieldsµÄһЩ¶¨Ò壬»ù±¾ÉÏ°üº¬ÁËËùÓеÄÏÔʾÊôÐÔ¡£

  RI=Reverse Image, HI=Hi Intensity, BL=blink, UL=Underline
  ND=Non Display
  NON Protect fields
d Normal c const(x¡¯20¡¯)
d RI c const(x¡¯21¡¯)
d HI c const(x¡¯22¡¯)
d HIRI c const(x¡¯23¡¯)
d UL c const(x¡¯24¡¯)
d ULRI c const(x¡¯25¡¯)
d ULHI c const(x¡¯26¡¯)
d ND c const(x¡¯27¡¯)
d BL c const(x¡¯28¡¯)
d BLRI c const(x¡¯29¡¯)
d BLHI c const(x¡¯2A¡¯)
d BLHIRI c const(x¡¯2B¡¯)
d BLUL c const(x¡¯2C¡¯)
d BLULRI c const(x¡¯2D¡¯)
d BLULHI c const(x¡¯2E¡¯)

  Protect field

d PRNormal c const(x¡¯A0¡¯)
d PRRI c const(x¡¯A1¡¯)
d PRHI c const(x¡¯A2¡¯)
d PRHIRI c const(x¡¯A3¡¯)
d PRUL c const(x¡¯A4¡¯)
d PRULRI c const(x¡¯A5¡¯)
d PRULHI c const(x¡¯A6¡¯)
d PRND c const(x¡¯A7¡¯)
d PRBL c const(x¡¯A8¡¯)
d PRBLRI c const(x¡¯A9¡¯)
d PRBLHI c const(x¡¯AA¡¯)
d PRBLHIRI c const(x¡¯AB¡¯)
d PRBLUL c const(x¡¯AC¡¯)
d PRBLULRI c const(x¡¯AD¡¯)

d PRBLULHI c const(x¡¯AE¡¯)

×¢Òâÿ¸öËõдµÄ³£Á¿Ãû×Ö¶¼ÓÐÒ»¸öÏàÓ¦µÄÊ®Áù½øÖƵÄÖµ¡£´Ó³£Á¿µÄÃû×ÖÎÒÃÇ¿ÉÒÔ¿´³öÀ´ËüËù¿ØÖƵÄÏÔʾÊôÐÔ¡£¼ÙÈçÄãÓÐÒ»¸ö¿ÉÊäÈëµÄÀ¸Î»£¬µ±³ö´íµÄʱºò·´É«ÏÔʾ(riverse)£¬µ±ÒªÌáʾÓû§Ò»Ð©¶«Î÷µÄʱºòÈÃËüÉÁ˸£¨blink£©,ͨ³£Äã»áÓõ½3¸öָʾÆ÷À´¿ØÖÆ¡£µ«ÊÇÏÖÔÚÎÒÃÇÖ»ÒªÒ»¸ö¿ØÖÆÀ¸Î»¾Í¿ÉÒÔÁË¡£ÎÒÃÇÏÖÔÚ¿ÉÒÔ»¨¸ü¶àʱ¼äÔÚ³ÌÐòµÄÂß¼­ÉÏ£¬¶ø²»ÓÃΪ¹ÜÀíÒ»´ó¶ÑµÄָʾÆ÷´ó·ÑÄÔ½îÁË¡£
ÀýÈ磺µ±Óû§ÊäÈëÒ»¸ö²»ÕýÈ·µÄ¿Í»§´úºÅµÄʱºò£¬ÎÒÃÇÒªÈÃCUST#·´É«ÏÔʾ£¬ÎÒÃÇÒª×öµÄÊÇ£ºEVAL @CUST# = RI. ÕâÀRIÊÇÒ»¸ö´ú±íÊ®Áù½øÖÆX21µÄ³£Á¿.ÉÏÃæµÄ´úÂëÖÐÎÒÃÇ¿ÉÒÔ¿´µ½£¬ÕâÀïÓÐÁ½×é³£Á¿µÄ¶¨Ò壬һ×é¿ÉÒÔ¿ØÖÆÀ¸Î»µÄ±£»¤ÊôÐÔ£¨PRÍ·£©,ÁíÒ»×é¿ØÖÆδ±£»¤µÄÀ¸Î»¡£ÄãÈç¹ûÖ»Ïë´Ó°ÑÀ¸Î»´Ó¿ÉÊäÈë±ä³ÉÖ»ÄÜÊä³öµÄ״̬£¬ÄǾÍÑ¡ÔñPRÍ·µÄ³£Á¿À¸¿ØÖÆ¡£·´¹ýÀ´£¬ÓÃûÓÐPR¿ªÍ·µÄ³£Á¿¡£

¼ÌÐøÉÏÃæ¿Í»§´úÂëÀ¸Î»µÄÀý×Ó£¬DSPFÖÐÎÒÃǶԿØÖÆCUST#À¸Î»µÄP-fieldµÄ¶¨ÒåÈçÏ£º

A**** For the full source code see MNTCUSFM ****

A DSPSIZ(24 80 *DS3)
A PRINT
A CF
01
A CF02

. . . . Other Functions keys DECLARED . . .
A
A CF
24
A PAGEDOWN
A PAGEUP
A*A R PANEL
A*A RTNCSRLOC(&RCD &FLD &POS)
A CLRL(10)
A CSRLOC(ROW# COL#)
A OVERLAY
A RCD 10A H
A FLD 10A H
A POS 4S 0H
A ROW# 3S 0H
A COL# 3S 0H
A @CUST# 1A P
A @CUST#TX 1A P
. . . . Other P Fields Declared . . .
A @CREDLM 1A P
A @CREDLMTX 1A P
A TITLE 30A O 1 25DSPATR(HI)
A 1 60DATE
A EDTCDE(Y)
A 1 70TIME
A 3 2¡¯Customer Number :¡¯
A DSPATR(&@CUST#TX)
A CUST# R B 3 20REFFLD(CUSTOMERR/CUST# CUSTOMER)
A DSPATR(&@CUST#)
A 3 30¡¯Credit Code:¡¯
A DSPATR(&@CREDCDTX)
A CREDCD R B 3 44REFFLD(CUSTOMERR/CREDCD *LIBL/CUSTOA MER)
A DSPATR(&@CREDCD)
A DESC R O 3 47REFFLD(CREDITCDR/DESC *LIBL/CREDITCA D)
A DSPATR(&@DESC)
A 5 2¡¯Customer Name :¡¯
A DSPATR(&@CNAMETX)
A CNAME R B 5 20REFFLD(CUSTOMERR/CNAME *LIBL/CUSTOMA ER)
A DSPATR(&@CNAME)
A 7 2¡¯Address :¡¯
A DSPATR(&@CADD1TX)
A CADD1 R B 7 20REFFLD(CUSTOMERR/CADD1 *LIBL/CUSTOMA ER)
A DSPATR(&@CADD1)
A 8 3¡¯City/State/Zip¡¯

A DSPATR(&@CADD1TX)
A CCITY R B 8 20REFFLD(CUSTOMERR/CCITY *LIBL/CUSTOMA ER)
A DSPATR(&@CCITY)
A CSTATE R B 8 37REFFLD(CUSTOMERR/CSTATE *LIBL/CUSTOA MER)
A DSPATR(&@CSTATE)
A CZIP R B 8 40REFFLD(CUSTOMERR/CZIP *LIBL/CUSTOMEA R)
A DSPATR(&@CZIP)
A 11 2¡¯Credit Limit:¡¯
A DSPATR(&@CREDLMTX)
A CREDLM R B 11 16REFFLD(CUSTOMERR/CREDLM *LIBL/CUSTOA MER)
A DSPATR(&@CREDLM)
A EDTCDE(Z)
A 23 3¡¯F3=Exit¡¯
A 23 23¡¯Enter=Continue¡¯
A 23 41¡¯F12=Cancel¡¯

A*A R MSFL
A*A SFL
A SFLMSGRCD(24)
A MSGKEY SFLMSGKEY
A PGMNAM SFLPGMQ(10)
A R MSFLC
A SFLCTL(MSFL)
A LOCK
A OVERLAY
A SFLSIZ(50)
A SFLPAG(1)
A N26 SFLEND
A SFLDSP
A SFLDSPCTL
A SFLINZ
A PGMNAM SFLPGMQ

@CUST# ¶¨ÒåΪһ¸ö×Ö½Ú³¤£¬Î»ÖÃ38ÎÒÃÇÓÃP£¬±íʾÕâÊÇÒ»¸öprogram-to ¨Csystem field., ¹Ø¼ü×ÖDSPATRÓõ½@CUST#µÄʱºò£¬±ØÐëʹÓ÷ûºÅ&×÷Ϊǰ׺£¬³ÌÐò½«¸ù¾Ý@CUST#µÄÖµ¿ØÖÆ¿Í»§´úÂëÀ¸Î»ÏÔʾµÄÊôÐÔ¡£
È磺
    EVAL   @CUST#=UL
    EXFMT  PANEL
*    If cust# exits
    EVAL   @CUST#=PR
*    If cust# not exits
    EVAL   @CUST#=RI
ÄÇô£¬Ï´ÎÏÔʾ»­ÃæµÄʱºò£¬À¸Î»CUST#¾Í»á°´ÕÕ@CUST#Ëù´ú±íµÄÏàÓ¦ÊôÐÔÀ´ÏÔʾÁË¡£

ÁíÍâÒ»µã¾ÍÊÇ£ºP-fields Ò²¿ÉÒÔÓÃÀ´¿ØÖƳ£Á¿.ÉÏÃæµÄDSPF´úÂëÖУ¬@CREDLMTXÓÃÀ´×÷Ϊ@CREDLMµÄÏÔʾ¿ØÖÆ¡£

7.2.2.3           ¶¨Î»¹â±ê

ÎÒÃÇÔõÑù²ÅÄܲ»Í¨¹ýָʾÆ÷À´¶¨Î»¹â±êËùÔÚµÄÀ¸Î»ÄØ£¿DDSÖÐÓÐÒ»¸ö¹Ø¼ü×ÖCRSLOC£¬ÈçÉÏÃæµÄDDS¶¨Ò壺
A ROW# 3S 0H
A COL# 3S 0H
A CSRLOC(ROW# COL#)
Ҫϵͳ×Ô¶¯·µ»Ø¹â±êµÄλÖã¬Ê¹ÓÃRTNCSRLOC¹Ø¼ü×Ö¡£

* ÎÒÃÇÒ²¿ÉÒÔµ÷ÓÃAPI QDFRTVFDÀ´·µ»Ø¹â±êλÖõÄ,¾ßÌåµÄÓ÷¨¿ÉÒԲο¼IBM information centreµÄÏêϸ˵Ã÷¡£

7.2.2.4           ÅжÏÓû§°´ÏÂÁËʲô¼ü

Ò²ÐíÄãÔÚÏëÔõô²ÅÖªµÀÓû§°´ÏÂÁËENTER¼ü»¹ÊÇÆäËûʲô¼üÄØ£¿DDS²¢²»Ö§³Ö°ÑENTER¼üָͬʾÆ÷¹ØÁª£¬µ«ÊÇÎÒÃÇ¿ÉÒÔÔÚ³ÌÐòÖÐÅжϡ£·½·¨¾ÍÊÇͨ¹ýÓÃÔÚWORKSTNÎļþµÄ¹Ø¼ü×ÖINFDS.Ê×ÏÈ£¬ÄãÒªÔÚDDS¶¨ÒåÄãÒªÓõ½µÄËùÓй¦ÄܼüÈçCA03,CA12µÈµÈ£¬È磺
A PRINT
A CF
01
A
CF02
A
CF24
ÔÚRPG³ÌÐòÖУ¬ÎÒÃÇͨ¹ýINFDSÓëWORKSTNÎļþ¹ØÁªÁËÒ»¸öinformation data structure,µÚ369λ¾Í½Ð×öAID (Attention Indicator).ÎÒÃÇÖ±½Ó°ÑËüºÍF3³£Á¿(¹ØÓÚ¸÷¹¦Äܼü¶ÔÓ¦µÃ³£Á¿Öµ¼û¸½±í)Ïà±È½Ï£¬¾ÍÖªµÀÓû§ÓÐûÓа´ÏÂF3.

7.2.2.5           ÏÔʾ³ö´íÏûÏ¢

ÎÒÃÇ¿ÉÒÔÓÃsubfileÀ´ÏÔʾ¸øÓû§Ò»Ð©³ö´íÐÅÏ¢¡£ÕâÑù¿ÉÒÔ±ÜÃâΪÿ¸öÐÅÏ¢Ö¸¶¨Ò»¸öָʾÆ÷¡£Message subfiles ÏÔʾÔÚ»­ÃæµÄ×îÏÂÃ棬ͬʱ³ö´íµÄÀ¸Î»»á±»·´ÁÁÏÔʾ¡£

¶¨ÒåÒ»¸ömessage subfile ,ÐèÒªÔÚsflctl¶¨ÒåSFLPAG, SFLDSP, SFLDSPCTL, SFLSIZÕâЩ¹Ø¼ü×Ö¡£SFLENDÊDZØÐëÒªÓÐÒ»¸öָʾÆ÷¿ØÖƵĹؼü×Ö¡£ËüÔÚ»­ÃæÓÒϽÇÉÏÏÔʾһ¸ö¡®+¡¯»òÕß¡®More¡¯À´ÌáʾÉÐÓиü¶àµÄÐÅÏ¢¡£Subfile ÀïÃ棬±ØÐëÒª¶¨ÒåµÄ¹Ø¼ü×ÖÓУºSFLMSGRCD, SFLMSGKEY, SFLPGMQ. SFLMSGRCD Ö¸¶¨ÏÔʾÏûÏ¢µÄÐÐÊý£¬ SFLMSGKEY¿ÉÒÔÈÃÄãÔÚ³ÌÐòÖÐΪÏûÏ¢Ö¸¶¨Ò»¸ö¹Ø¼ü×ֶΡ£SFLPGMQÊdzÌÐòÏûÏ¢¶ÓÁеÄÃû×Ö¡£ÄãµÄ³ÌÐò´ÓÕâ¸öÏûÏ¢¶ÓÁÐÖнÓÊÕ´íÎóÏûÏ¢£¬»òÕß·¢ËÍ´íÎóÏûÏ¢µ½ÏûÏ¢¶ÓÁÐÖС£SFLPGMQ (10)Éú³ÉÒ»¸ö10-byte µÄÀ¸Î»¡£10ÊÇĬÈÏÖµ£¬ÄãÖ»ÄÜÖ¸¶¨ËüΪ10»òÕß276¡£
ÎÒÃÇ¿ÉÒÔÓÃAPI QMHSNDPM·¢ËÍÏûÏ¢µ½ÏûÏ¢¶ÓÁÐÖС£
SFLMESSAGE
°üº¬ÁËÁ½¸öÄ£¿é£¬ SendSFLMSG ºÍ ClearSFLMsg. ClearSFLMsg ´ÓÏûÏ¢¶ÓÁÐÖÐÒƳýÏûÏ¢£¬SendSFLMSG ÍùÏûÏ¢¶ÓÁÐÖÐдÈëÏûÏ¢¡£µ±ÊäÈëµ½Ò»¸öÀ¸Î»µÄÖµÓдíµÄʱºò£¬ÎÒÃDz»½ö¿ÉÒÔ·´ÁÁÏÔʾ¸ÃÀ¸Î»£¬Ò²Í¬Ê±ÍùÏûÏ¢¶ÓÁÐÖÐдÈëÒ»ÌõÏûÏ¢¡£Ê¹ÓÃÏûÏ¢¶ÓÁпÉÒÔ±ÜÃâʹÓÃÓ²´úÂ루hard code£©¶¨ÒåָʾÆ÷¡£Äã¿ÉÒÔ´Ó³ÌÐòÖ±½Ó·¢ËÍÏûÏ¢Îı¾µ½subfile,»òÕß·¢ËÍÏûÏ¢±êʶ£¨message ID£©,ÏûÏ¢Îļþ»òÕß¿â¡£ÎÒ¾õµÃ°Ñ´íÎóÏûÏ¢´æ´¢ÔÚÒ»¸öarrayÖУ¬È»ºó´ÓÖÐÈ¡³öÀ´´«µÝ¸ø»­ÃæÊ®·ÖºÃÓá£

7.2.2.6        ×ܽá

ÏÖÔÚ£¬ÎÒÃÇ¿ÉÒÔÈÃÎÒÃǵijÌÐò³¹µ×°ÚÍÑָʾÆ÷ÁË¡£ÏÂÃæÊÇÓ¦ÓõĻù±¾Âß¼­£º

1. ÏÔʾ»­Ãæ

2. °´ÏÂENTER»òÕßÆäËû¹¦Äܼü¡£»­ÃæÉÏ°üº¬ÓпÉÊäÈëÀ¸Î»£¬ÎÒÃÇÓÃÒ»¸öP-field£¨program-to-system£©À´¿ØÖÆËüµÄÏÔʾÊôÐÔ¡£3. Clear the subfile message queue.

4. ³ÌÐòÖмì²éAID µÄÖµ£¬ÅжÏÊÇ°´ÏÂÁËENTER¼ü»òÕßÊÇʲô¹¦Äܼü¡£³ÌÐòÖмì²éÆäÓÐЧÐÔ¡£

5. ÖØÖÃÓÃP-field¿ØÖƵÄËùÓÐÀ¸Î»ÊôÐÔµ½Ä¬ÈÏÉèÖ㬱ÈÈç¿ÉÊäÈëÀ¸Î»³õʼ»áÓÐÒ»¸öULÊôÐÔ¡£

6. ¿ª·Å±»¿ØÖƵÄÊäÈë/Êä³öÀ¸Î»£¬½«¹â±ê·ÅÔÚ³ö´íµÄµÚÒ»¸öÀ¸Î»£¬²¢·´ÁÁÏÔʾ³ö´íµÄÀ¸Î»¡£³ÌÐòÖпÉÒÔÓõ½%FOUND »òÕßÆäËûµÄÄÚÖú¯Êý¡£

7. Ϊÿ¸öÀ¸Î»µÄ´íÎó·¢ËÍÒ»¸öÐÅÏ¢µ½SFLÏûÏ¢¶ÓÁÐÖС£

8. ÖØÐÂÏÔʾ»­Ã棬ÔٴοªÊ¼¡£»òÕ߸üÐÂÎļþ£¬Í˳ö³ÌÐò¡£

7.2.3           »ù±¾µÄSUBFILEµÄʹÓÃ

ÏÔʾÎļþÖйØÓÚSFL²¿·ÖµÄ¶¨Ò壺

A*****************************************************************   

A          R SFL10                     SFL                           

A                                      KEEP                          

A            SFFLD1        11A  O  7  5TEXT('   ')                   

A            SFFLD2        20O  O  7 18TEXT('   ')                   

A*****************************************************************   

A          R CTL10                     SFLCTL(SFL10)                 

A                                      CSRLOC(D1ROW D1COL)           

A                                      RTNCSRLOC(&D1RCD &D1HELP)     

A                                      RTNCSRLOC(*MOUSE &D2ROW &D2COL)

A                                                                    

A                                      SFLCSRRRN(&D1RRN)              

A                                      SFLPAG(16) SFLSIZ(32)         

A  22                                  SFLDSPCTL                      

A  23                                  SFLDSP                        

A  24                                  SFLCLR                        

A*                                                    

A            DSPSF1         4S 0H      SFLRCDNBR      

A*                                                    

RPGÖйØÓÚÏÔʾÎļþµ÷ÓÃÉùÃ÷£º

FDSPFILE CF  E                    WORKSTN                 

F                                        XRRN1 KSFILE SFL10

ÆäÖÐXRRN1ΪSubFileµÄ¼Í¼ºÅ

SubFile¼Í¼µÄдÈ룺

C                     ADD  1         XRRN1           

C                     WRITESFL10                     

Èç¹û¶ÔÓÚͬһ¸ö¼Í¼ºÅ£¬Öظ´Ê¹ÓÃÁËÁ½´ÎWRITE²Ù×÷µÄ»°£¬ÏµÍ³¾Í»á³ö´í¡£ËùÒÔÿ´ÎдµÄʱºòXRRN1ÊDZØÐë¼Ó1µÄ¡£

SubFileµÄÏÔʾ£º

C                     MOVE ON        *IN22              

C                     MOVE ON        *IN23              

C                     Z-ADD1         DSPSF1                   

C                     EXFMTCTL10                               

C                     MOVE OFF       *IN22              

C                     MOVE OFF       *IN23              

ÆäÖÐDSPSF1ΪÏÔʾÎļþµÄ¼Í¼ºÅ£¬Ò»°ãÉèÖÃΪ1£¬Ê¹¹â±êλÖóöÏÖÔÚµÚÒ»Ìõ¼Í¼£¬µ±È»Ò²¿ÉÒÔ¸ù¾ÝÐèÒªÀ´¶¨Î»¡£

SubFile¼Í¼µÄµÄ¶¨Î»ºÍ¸üУº

C           X         CHAINSFL10                80      

C*¼Í¼×Ö¶ÎÖµ¼°×´Ì¬¸üвÙ×÷

C                     UPDATSFL10                         

ÆäÖÐXµÈͬÓÚXRRN1£¬ÎªSubFileµÄ¼Í¼ºÅ¡£

SubFile¼Í¼µÄÕûÌåɾ³ý£º

C                     Z-ADD*ZERO     XRRN1              

C                     MOVE ON        *IN24              

C                     WRITECTL10                        

C                     MOVE OFF       *IN24              

 

 

 

7.2.4           ÈçºÎÔÚAS400д½ø¶ÈÌõ£¿

The RPG to generate a Progress Bar for source files

 

     FUtl4020D  cf   e             WorkStn                                      

      *---------------------------------------------------------------------   

     D TimeStart       S               T                                       

     D TimeNow         S               T                                       

     D TimeHMS         S               T   TimFmt(*HMS)                        

     D TotalSecs       S              9S 0                                     

     D TimeHMSa        S              8                                        

      *                                                                         

     D CurrentRec      S              7S 0                                     

     D TotalRecs       S              7S 0                                     

     D PCT             S              3S 0                                     

                                                                                         

      *                                                                                  

      * play stuff                                                                        

     C                   Eval      TotalRecs = 2000                                      

     C                   Time                    TimeStart                               

                                                                                          

     C                   dow       CurrentRec < TotalRecs                                

     C                   Eval      CurrentRec = CurrentRec + 1                            

                                                                                         

      * Set the xx% value                                                                

     C                   EVAL      pct = CurrentRec * 100 / TotalRecs                    

     C                   EVAL      PRGBAR = '     ' +                                    

     C                             %Triml(%EditC(CurrentRec:'3')) +                      

     C                             ' records of ' +                                      

     C                             %Triml(%EditC(TotalRecs:'3')) + ' read.   ' +         

     C                             %EditW(PCT:'   %')                                    

      * Estimated time to completion: 

      *  (Below 5% the estimated time is probably badly misleading)

     C                   If        Pct > 5                                               

     C                   Time                    TimeNow                                  

      * Time elapsed so far:?                                                            

     C     TimeNow       SubDur    TimeStart     TotalSecs:*S                  

     C                   Eval      TotalSecs = TotalSecs/pct * (100 - pct)     

     C     T'00.00.00'   AddDur    TotalSecs:*S  TimeHMS                       

     C                   MoveL     TimeHMS       Tmp20            20           

     C                   Move      'remaining  ' Tmp20                         

     C                   Move      Tmp20         PrgBar                        

     C                   End                                                   

                                                                               

      * Set the RI placement                                                   

     C*                  EVAL      pct = (CurrentRec * %size(PRGBAR))/TotalRecs

     C                   EVAL      pct = (CurrentRec * 74)/TotalRecs           

                                                                                

     C                   If        Pct > 0                                     

     C                   EVAL      %subst(PRGBAR:pct:1) = x'21'                

     C                   Write     FMT01                                        

     C                   End                                                   

                                                                               

     C                   EndDo                                                  

                                                                               

     C                   EVAL      %subst(PRGBAR:74:1) = ' '                   

     C                   Exfmt     FMT01                                        

                                                                               

     C                   eval      *inLR = *on                                 

1.    ---------------------------------------------------------------------

 

The DDS for the screen format

 

 

        

     A******************************************************************      

     A*%%EC                                                                   

     A                                      DSPSIZ(24 80 *DS3)                 

     A                                      ERRSFL                            

     A          R FMT01                                                       

     A                                      TEXT('A displayable Progress bar')

     A                                      OVERLAY                           

     A                                      WINDOW(22 2 1 74 *NOMSGLIN)       

     A            PRGBAR        74   O  1  1DSPATR(RI)                        

     A                                      COLOR(RED)                        

     A          R DUMMY                                                         

     A                                      TEXT('PREVENTS PREVIOUS SCREEN FROM-

     A                                       BEING CLEARED')                    

     A                                      ASSUME                              

     A                                  1  9' '                                 

 

 

 

 

 

 

7.3         ÈçºÎ¼ì²â¼°·ÖÎöϵͳÐÔÄÜ£¿

a)       ÀûÓõ¼º½Æ÷µÄÖÐÑë¹ÜÀí¡ª¼à¿ØÆ÷¡ªÏµÍ³

²ÎÕÕÑù±¾´´½¨Ò»¸ö¾Í¿ÉÒÔÁË

 

b)       ÀûÓÃPM400

c)       ÀûÓÃACCOUNTING JOURNAL

´´½¨QACGJRN¼´¿É¼ì²âJOBµÄ×ÊԴʹÓÃÇé¿ö

ÔÚ·ÖÎöQACGJRNµÄʱºò£¬ÐèÒªÌ×ÓÃϵͳÒÑÓеÄÎļþ¸ñʽ

¿½±´ÏµÍ³ÏÖÓеÄÎļþ¸ñʽ----QSYS/QAJBACG4

DSPJRN JRN(QACGJRN)             

       OUTPUT(*OUTFILE)         

       OUTFILFMT(*TYPE4)        

       OUTFILE(YOURLIB/QAJBACG4)

 

7.4         ÈçºÎÔÚÓ¦ÓóÌÐòÖÐУÑéÓû§ÃÜÂ룿

DDS£º

 

    A                                      DSPSIZ(24 80 *DS3)      

    A                                      CA03(03 'EXIT')         

    A          R SCRN01                                             

    A                                  4  6'ENTER YOUR PASSWORD TO -

    A                                      CONTINUE:'              

    A            PWD           10A  I  4 40                        

    A                                      DSPATR(ND)              

    A                                 23  2'F3 = EXIT'             

A            MSG           78     24  2                        

 

 

CL£º

PGM                                                           

                                                             

  DCLF       FILE(CHKPWDD)                                   

                                                             

RETRY:                                                        

  SNDRCVF                                                    

  CHGVAR &MSG ' '                                            

  IF (&IN03 = '1') GOTO END                                  

                                                              

  CHKPWD PASSWORD(&PWD)                                      

            MONMSG     MSGID(CPF2362 CPF2363 CPF2364) EXEC(DO)

            RCVMSG     MSGTYPE(*LAST) RMV(*NO) MSG(&MSG)     

      GOTO RETRY                                             

  ENDDO                                                      

                                                             

END:                                                          

ENDPGM

 

7.5         ÈçºÎÖªµÀODBCµÄÕæÕýʹÓÃÕߣ¿

1.     ²é¿´QUSRWRK×ÓϵͳÏÂÃûΪQZRCSRVSµÄJOB£¬²é¿´JOBLOG¾Í¿ÉÒÔÖªµÀʹÓÃÕß

2.     ͨ¹ýCLP¿ÉÒÔʵÏÖ

pgm

 

/*                                                           */

/* *Usrspc variables...                                      */

/*                                                           */

  dcl   &usrspc        *char      20   /* Space name/lib    */

 

  dcl   &offslst       *char       4   /* Offset to list    */

  dcl   &sizlste       *char       4   /* Size list entries */

  dcl   &nbrlste       *dec   (  7 0 ) /* Number of entries */

 

  dcl   &us_hdr        *char     150   /* Space header      */

 

  dcl   &us_jobe       *char     512   /* A single entry    */

 

/*                                                           */

/* Job selection variables...                                */

/*                                                           */

  dcl   &jobname       *char      26   /* Select job name   */

  dcl   &dftuser       *char      10   value( 'QUSER     ' )

                                       /* Prestart user     */

/* Variable keys to select                                   */

  dcl   &nbrkeys       *char       4   value( x'00000002' )

                                       /* bin(   2 )        */

  dcl   &rtvcurusr     *char       4   value( x'00000131' )

                                       /* bin( 305 )        */

  dcl   &rtvsts        *char       4   value( x'00000065' )

                                       /* bin( 101 )        */

/* Variable key list...                                      */

  dcl   &varkeylst     *char     400

 

/*                                                           */

/* Retrieved values from job list...                         */

/*                                                           */

  dcl   &job           *char      10

  dcl   &user          *char      10

  dcl   &nbr           *char       6

 

  dcl   &curuser       *char      10   /* Current user      */

  dcl   &sts           *char       4   /* Job status        */

 

 

/*                                                           */

/* Global message monitor...                                 */

/*                                                           */

 

  monmsg   ( cpf0000 mch0000 )  exec( goto  Std_Err )

 

/*                                                           */

/* Create a *usrspc to work with...                          */

/*                                                           */

 

  chgvar    &usrspc       ( 'ODBCJOB   ' *cat 'QTEMP     ' )

 

  call  QUSCRTUS         ( +

                           &usrspc                 +

                           'TMPLST    '            +

                           x'00001000'             +

                           X'00'                   +

                           '*ALL      '            +

                           'Temp list ODBC jobs    ' +

                           '*YES      '            +

                           x'0000000000000000'     +

                         )

 

 

/*                                                           */

/* This sets up selection criteria for list jobs API...      */

/*                                                           */

 

/* The jobname we're after...                                */

 

  chgvar    &jobname      ( 'QZDASOINIT' *cat +

                            &dftuser     *cat +

                            '*ALL   '         +

                          )

 

/* Include current job user and active job status...         */

 

  chgvar    &varkeylst    ( &rtvcurusr *cat &rtvsts )

 

/*                                                           */

/* This lists active jobs with the job name specified.       */

/*                                                           */

 

  call  QUSLJOB          ( +

                           &usrspc                 +

                           'JOBL0200'              +

                           &jobname                +

                           '*ACTIVE   '            +

                           x'0000000000000000'     +

                           'B'                     +

                           &nbrkeys                +

                           &varkeylst              +

                         )

 

 

/*                                                           */

/* Get the *usrspc header for the list attributes...         */

/*                                                           */

 

  call  QUSRTVUS         ( +

                           &usrspc                 +

                           x'00000001'             +

                           x'00000096'             +

                           &us_hdr                 +

                         )

 

/*                                                           */

/* Get the offset to the list within the space, the number   */

/*   of list entries and size of each entry from the header. */

/*                                                           */

  chgvar    &offslst        %sst( &us_hdr    125 4 )

  chgvar    &nbrlste        %bin( &us_hdr    133 4 )

  chgvar    &sizlste        %sst( &us_hdr    137 4 )

 

/* If no entries, then get out of here...                    */

 

  if  ( &nbrlste *eq 0 )     do

     sndpgmmsg  msgid( CPF9898 ) msgf( QCPFMSG ) +

                  msgdta( 'No ODBC jobs found.' )

     goto   Clean_up

  enddo

 

 

/* Set the offset to the list within the space...            */

 

  chgvar    %bin( &offslst ) ( %bin( &offslst ) + 1 )

 

 

Nxt_JobE:

 

/* Get an entry from the list...                             */

 

  call  QUSRTVUS         ( +

                           &usrspc                 +

                           &offslst                +

                           &sizlste                +

                           &us_jobe                +

                         )

 

/* Extract job info from list entry...                       */

 

  chgvar    &job            %sst( &us_jobe     1  10 )

  chgvar    &user           %sst( &us_jobe    11  10 )

  chgvar    &nbr            %sst( &us_jobe    21   6 )

 

  chgvar    &curuser        %sst( &us_jobe    81  10 )

  if  ( &curuser *eq &dftuser )     do

     chgvar    &curuser        '*DEFAULT'

  enddo

 

  chgvar    &sts            %sst( &us_jobe   109   4 )

 

 

/* Display the result...                                     */

 

  sndpgmmsg  msgid( CPF9898 ) msgf( QCPFMSG ) +

               msgdta( 'Job<' *cat &nbr *tcat +

               '/' *cat &user *tcat +

               '/' *cat &job  *tcat +

               '> Current user<' *cat &curuser *tcat +

               '> Status<' *cat &sts *tcat '>')

 

 

/* Perform loop testing...                                   */

 

  chgvar    &nbrlste      ( &nbrlste - 1 )

 

  if  ( &nbrlste *gt 0 )     do

 

     chgvar    %bin( &offslst ) ( %bin( &offslst ) + +

                                  %bin( &sizlste ) )

     goto      Nxt_JobE

 

  enddo

 

 

/*                                                           */

/* Exit processing...                                        */

/*                                                           */

 

 

Clean_up:

 

  dltusrspc   %sst( &usrspc 11 10 )/%sst( &usrspc 1 10 )

 

  return

 

Std_Err:

 

  /* Move any *DIAG messages up the stack...        */

 

  Qsys/call  pgm( QSYS/QMHMOVPM ) parm( +

                                        '    '          +

                                        '*DIAG     '    +

                                        x'00000001'     +

                                        '*         '    +

                                        x'00000001'     +

                                        x'00000000'     +

                                      )

  Qsys/monmsg     ( CPF0000 MCH0000 )

 

  /* Resend any *ESCAPE messages up the stack...     */

 

  Qsys/call  pgm( QSYS/QMHRSNEM ) parm( +

                                        '    '          +

                                        x'00000000'     +

                                      )

  Qsys/monmsg     ( CPF0000 MCH0000 )

 

  return

 

endpgm

 

7.6      ÈçºÎ½«±¨±í(Spooled File)ʹÓÃe-mail´«ÊäÖÁʹÓÃÕß

 

ÓÉÓÚE-mailµÄÆÕ¼°£¬ËùÒÔ³£»áÓÐ AS/400±¨±íÏÂÔص½PC£¬²¢¾­³£ÒªÀûÓÃoutlook´«Ê䣬ºÜÊÇÂé·³£¬ËùÒÔÎÒÃÇŒ¢Ö®ÕûºÏÖÁ AS/400 ÖУ¬Ö±½ÓÀûÓà AS/400 µÄ SMTP ¹¦Äܼ´¿ÉÖ±½Ó´«Ëͱ¨±í¡££Ó£Í£Ô£ÐÉèÖ÷½·¨Çë²Î¿¼ESPLFµÄ˵Ã÷Îĵµ¡£

 

ÏÂÃæµÄ³ÌÐòĬÈÏÉèÖÃÊÇת»»·±ÌåÖÐÎÄ "*BG5"£¬Èç¹ûÊǼòÌåÖÐÎÄ£¬Ç뽫 ESPLFC ÖÐ Ö¸Áî CPYTOPC²ÎÊý TRNIGC Öµ¸ÄΪ "*SCGS"£¬¼´¿Éת»»Îª¼òÌå¡£

 

File  : QCLSRC

Member: ESPLFC

Type  : CLP

Usage : CRTCLPGM  ESPLFC

OS Version: V4R1(º¬)ÒÔáá

/**================================================================**/

/* ESPLF ** EMAIL SPOOL FILE                                        */

/* Compile: CRTCLPGM PGM(QGPL/ESPLFC)                               */

/**================================================================**/

             PGM        PARM(&FILE &EMAIL &QJOB &SPLNBRD)

             DCL        VAR(&QJOB) TYPE(*CHAR) LEN(26) /* job name */

             DCL        VAR(&FILE) TYPE(*CHAR) LEN(10) /* spool file +

                          name */

             DCL        VAR(&SPLNBRD) TYPE(*DEC) LEN(5 0) /* spool +

                          file number */

             DCL        VAR(&EMAIL) TYPE(*CHAR) LEN(40) /* to email +

                          address */

             DCL        VAR(&JOB)  TYPE(*CHAR) LEN(10)

             DCL        VAR(&USER) TYPE(*CHAR) LEN(10)

             DCL        VAR(&NBR)  TYPE(*CHAR) LEN(6)

             DCL        VAR(&SPLNBR) TYPE(*CHAR) LEN(6) /* spool +

                          file number */

             DCL        VAR(&FNAME)  TYPE(*CHAR) LEN(12)

             MONMSG     MSGID(CPF0000) EXEC(GOTO CMDLBL(ERROR))

/**================================================================**/

/* Translate JOB special values                                     */

/**================================================================**/

             IF         COND(&QJOB = '*') THEN(RTVJOBA JOB(&JOB) +

                          USER(&USER) NBR(&NBR))

             ELSE       CMD(DO)

               CHGVAR     VAR(&JOB)  value(%SST(&QJOB 1 10))

               CHGVAR     VAR(&USER) value(%SST(&QJOB 11 10))

               CHGVAR     VAR(&NBR)  value(%SST(&QJOB 21 6))

             ENDDO

/**================================================================**/

/* Translate SPLNBR special values                                  */

/**================================================================**/

             IF         COND(&SPLNBRD = -1) THEN(CHGVAR VAR(&SPLNBR) +

                          value('*ONLY'))

             ELSE       CMD(IF COND(&SPLNBRD = -2) THEN(CHGVAR +

                          VAR(&SPLNBR) value('*LAST')))

             ELSE       CMD(CHGVAR VAR(&SPLNBR) value(&SPLNBRD))

/**================================================================**/

/* E-mail                                                           */

/**================================================================**/

             CHKOBJ     OBJ(QTEMP/ESPLF) OBJTYPE(*FILE)

             MONMSG     MSGID(CPF9801) EXEC(CRTPF FILE(QTEMP/ESPLF) +

                          RCDLEN(198) IGCDTA(*YES) SIZE(*NOMAX))

             CPYSPLF    FILE(&FILE) TOFILE(QTEMP/ESPLF) +

                          JOB(&NBR/&USER/&JOB) SPLNBR(&SPLNBR) +

                          MBROPT(*REPLACE)

             CHGVAR   VAR(&FNAME) value(%SST(&FILE 1 8) *TCAT '.TXT')

             CPYTOPCD   FROMFILE(QTEMP/ESPLF) TOFLR('temp') +

                          TODOC(&FNAME) REPLACE(*YES) +

                          TRNTBL(*NONE) TRNIGC(*BG5)

             SNDDST     TYPE(*DOC) TOINTNET((&EMAIL)) DSTD(&FILE) +

                        LONGMSG(&FILE) DOC(&FNAME) FLR('temp') +

                        SUBJECT(&FILE *BCAT 'TESTED' )

             DLTDLO     DLO(&FNAME) FLR('temp')

             SNDPGMMSG  MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA('Spooled +

                          file' |> &FILE |> 'sent to' |> &EMAIL)

             RETURN

/**================================================================**/

/* Global exception handler                                         */

/**================================================================**/

 ERROR:      CALL       PGM(QMHRSNEM) PARM('    ' X'00000000')

             MONMSG     MSGID(CPF0000)

             SNDPGMMSG  MSGID(CPF9898) MSGF(QCPFMSG) +

                          MSGDTA('Error(s) occured, see previously +

                          listed messages') MSGTYPE(*ESCAPE)

             ENDPGM

 

 

File  : QCMDSRC

Member: ESPLF

Type  : CMD

Usage : CRTCMD CMD(ESPLFC) PGM(ESPLFC)

OS Version: V4R1(º¬)ÒÔáá

 

/* sample: ESPLF FILE(QPJOBLOG) EMAIL(support@yahoo.com) */

/* V4R1 or later is required.   */

/*You must create a temporary folder using the command CRTFLR FLR(TEMP) */

/* 1.Using CFGTCP, Option 10=Work with TCP/IP host table entries,   */

/*  verify your mail server name is in the table (add if necessary). */

/*  ADD TWN6CPD  145.172.2.11  MAIL SERVER                           */

/*  ADD WTWNAS01 145.172.1.1   LOCAL AS/400 HOST                     */

/* 2. Ping mail server                                               */

/* 3. CHGSMTPA, verify AUTOSTART(*YES) and MAILROUTER(mail-svr-name) */

/* 4. ADDDIRE USRID(INTERNET SMTPRTE)   +                          */

/*       USRD('Internet SMTP gateway') SYSNAME(INTERNET)   +       */

/*       PREFADR(NETUSRID *IBM ATCONTXT)                           */

/*    CHGDSTA SMTPRTE(INTERNET SMTPRTE)                            */

/* 5. STRTCPSVR *SMTP                                              */

/*    If you changed the mail server address, you need restart SMTP*/

/* 6. Test : SNDDST TYPE(*LMSG) TOINTNET(E-mail address)    +      */

/*                  DSTD('Test message') LMSG('Test message')      */

/*    use the Work with Directory Entries (WRKDIRE) command to     */

/*    enroll you in the system directory.                          */

/*                                                                   */

/* preventing large e-mail messages from splitting                   */

/*           CHGPOPA MSGSPLIT(*NOMAX)                               */

/*                            *DFT size is 128k                     */

             CMD        PROMPT('E-mail Spooled File')

             PARM       KWD(FILE) TYPE(*NAME) MIN(1) PROMPT('Spooled +

                          file')

             PARM       KWD(EMAIL) TYPE(*CHAR) LEN(40) MIN(1) +

                          PROMPT('To e-mail address')

             PARM       KWD(JOB) TYPE(JOB) DFT(*) SNGVAL((*)) +

                          PROMPT('Job name')

             PARM       KWD(SPLNBR) TYPE(*DEC) LEN(4) DFT(*ONLY) +

                          SPCVAL((*ONLY -1) (*LAST -2)) +

                          PROMPT('Spooled file number')

 JOB:        QUAL       TYPE(*NAME) DFT(*)

             QUAL       TYPE(*NAME) PROMPT('User')

             QUAL       TYPE(*CHAR) LEN(6) RANGE(000000 999999) +

                          PROMPT('Number')

 

 

 

 

7.7    ±¨±íÉè¼Æ¹¤¾ß£¨RLU£©

RLUµÄÒâ˼ΪReport Layout Utility(±¨±íÉè¼Æ¹¤¾ß)¡£

 

RPG³ÌÐòÉè¼ÆµÄ³õÖÔ¾ÍÊÇΪÁËÉè¼Æ±¨±íÒÔ¹©ÏµÍ³´òÓ¡¡£Ëæ׿¼ÊõµÄ¸Ä½øºÍOS/400°æ±¾µÄ²»¶ÏÉý¼¶£¬ÏÖÔÚµÄÐí¶àÊä³öÉ豸¶¼ÒѾ­¸Ä±äÁË´«Í³±¨±íµÄÓ÷¨£¬Ô­À´Ê¹ÓóÌÐò¶¨Ò嶨ÒåÎļþÉè¼Æ±¨±í£¬Ä¿Ç°Ôò¾­³£²ÉÓñ¨±íÉè¼Æ¹¤¾ßRLUÀ´Éè¼Æ´òÓ¡ÎļþPRTF£¬È»ºóÔÙͨ¹ýRPGIV+PRTF×éºÏÀ´±àÖƳÌÐò¡£

 

ÏÂÃ潫ÒÔOS/400 V5R2M0Ϊ»ù×¼£¬Ñ­Ðò½¥½øµØ½²½âRLUµÄʹÓ÷½·¨£¬ÏÂÃæÒÔRLUÉè¼ÆÒ»¸öA3Ö½ÐÍ(11¡Á12 inch¡¢Á´Ê½´òÓ¡Ö½)ΪÀý¡£

 

Ò»¡¢PFÎļþ˵Ã÷£º

 

1¡¢EDISYSTEM/QDDSSRC(REFILE)ΪÊý¾Ý¹«¹²×ÖµäPF£º

 

´úÂë:

 

     A* CREATE BY TRF.LIUYUANYAO  2004.12.12

     A* DATA DICTIONARY REFERENCE FILE

     A*----------------------------------------------------

     A          R REFMT

     **

     A* CHARACTER SET

     A            CODE           5A

     A            ID             7A

     **

     A* DBCS-OPEN SET

     A            NAME1         12O

     A            NAME2         12O

     A            DESCRPT       30O

     **

     A** NUMERIAL SET

     A            AMOUNT        15  2

     A            PRICE         11  2

     A            QUATITY        7  0

     **

     A** DATE SET

     A            DATE1           L

 

 

2¡¢EDISYSTEM/QDDSSRC(EMPLOYEES)Ϊ²ÎÕÕÊý¾Ý¹«¹²×ÖµäµÄÆäÖÐÒ»¸öPF£º

 

´úÂë:

 

     A* PROGRAMER    : TRF.LIUYUANYAO 2004.12.14

     A* PROGRAM NAME : EMPLOYEES

     A*****************************************************************

     A                                      REF(*LIBL/REFILE)

     A                                      UNIQUE

     A          R EMPLOY

     A            EYCODE    R               REFFLD(ID)

     A                                      COLHDG('¹ÍÔ±Âë')

     A            DPCODE    R               REFFLD(CODE)

     A                                      COLHDG('²¿ÃÅÂë')

     A            EYNAME    R               REFFLD(NAME2)

     A                                      COLHDG('¹ÍÔ±Ãû')

     A            SUBTOTAL  R               REFFLD(AMOUNT)

     A                                      COLHDG('С¼Æ')

     A*

     A          K EYCODE

     A          K DPCODE

 

 

¶þ¡¢Ê¹ÓÃRLUµÄ¾ßÌå²Ù×÷²½Ö裺

 

2.1 Ϊ´òÓ¡ÎļþÑ¡ÔñÊý¾Ý¿â£º

 

1¡¢ÔÚOS/400ÃüÁîÐÐÇÃÈëSTRRLU+F4£¬·Ö±ðÔÚSource file¡¢Library¡¢Source memberÊäÈë¶ÔÓ¦ÄÚÈÝ£¬²¢ÇÒ¶¨ÒåPage width...198 ¡£

 

´úÂë:

 

                      Start Report Layout Utility (STRRLU)                     

                                                                               

Type choices, press Enter.                                                      

                                                                               

Source file  . . . . . . . . . . > QDDSSRC       Name, *PRV                   

   Library  . . . . . . . . . . . >   EDISYSTEM   Name, *LIBL, *CURLIB, *PRV   

Source member  . . . . . . . . . > LPRTF01       Name, *PRV                   

Option . . . . . . . . . . . . .   2             2, 6                         

Page width . . . . . . . . . . . > 198           1-378, *SAME                 

Text 'description' . . . . . . . > 'DEMO for Design Report'                   

                                                                               

 

2¡¢Ö´Ðкó³öÏÖÈçÏÂЧ¹û£¬RLUչʾ³ö±¨±íÉè¼ÆÆÁÃæ¡£

ÎÒÃÇ¿ÉÒÔʹÓÃSEU¶ÔÆä½øÐб༭£º×ó±ßµÄ'''''''Ϊ¹¦Äܶ¨ÒåÇøÓò£¬¿Õ°×ÇøΪÉè¼Æ±à¼­ÏÔʾÇøÓò£»×ó²à¿ªÊ¼BASEÏÔʾÁË´òӡʱ³ö±ê³ß£»...+... 1 ...+... 2 ×î´ó¿ÉÒÔ¶¨Òå378¸ö×Ö·ûλÖá£

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

'''''''                                                                         

'''''''                                                                         

'''''''                                                                          

'''''''                                                                         

'''''''                                                                         

'''''''                                                                          

'''''''                                                                         

'''''''                                                                         

'''''''                                                                          

'''''''                                                                         

'''''''                                                                         

'''''''                                                                          

'''''''                                                                         

'''''''                                                                         

'''''''                                                                          

        --------------------------- End of Report -----------------------------

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                  

F22=Alternative keys         F24=More keys                                     

Record length of source file greater than 92.                                 +    

 

3¡¢°´F10£¬ÊäÈëLibrary¡¢File¡¢Record£¬½«¹â±êÍ£ÔÚFieldÀ¸°´F4 £º

 

´úÂë:

 

                           Work with Database Fields                           

                                                                               

Type options, press Enter.                                                     

   1=Add field   4=Remove   8=Display field description                         

                                                                               

Option     Field          Library        File           Record                 

   1                       EDISYSTEM      EMPLOYEES      EMPLOY                 

                                                                               

   (No database fields selected)                                               

                                                                                

 

 

 

                                                                         Bottom

F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F16=Delete all fields         

                                                     

 

 

 

4¡¢³öÏÖÈçϽçÃæºóÔÙÔÚFieldÀ¸°´F4£º

 

´úÂë:

 

                              Add Database Fields                               

                                                                               

Type choices, press Enter.                                                      

                                                                               

   File . . . . . . . . . . .   EMPLOYEES       Name, F4 for list               

     Library  . . . . . . . .     EDISYSTEM     Name, *LIBL, *CURLIB            

   Record format  . . . . . .   EMPLOY          Name, F4 for list               

   Field  . . . . . . . . . .                   Name, F4 for list               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

F4=Prompt   F5=Refresh   F12=Cancel                                           

Specify field name.                                                               

 

 

 

 

5¡¢Ö´Ðкó¿É¼ûÏÂͼ£¬¼üÈë1=Select£¬Ñ¡ÔñÊý¾Ý¿âËùÓеÄ×ֶΣ»È»ºóÁ¬Ðø¼üÈë3´ÎÖ´ÐУº

 

´úÂë:

 

                             Select Database Fields                             

                                                                               

File . . . . . . . . :   EMPLOYEES       Record . . . . . . . :   EMPLOY       

   Library  . . . . . :     EDISYSTEM                                           

                                                                               

Position to  . . . . .                Field                                    

Subset . . . . . . . .   *ALL         *ALL, name, *generic*                   

                                                                               

Type options, press Enter.                                                      

   1=Select   8=Display field description                                       

                                                                               

                                                          Column               

Opt     Field       Length  Type                         Heading               

  1       DPCODE           5  Character                    DPCODE               

  1       EYCODE           7  Character                    EYCODE               

  1       EYNAME          12  Bracketed DBCS               EYNAME               

  1       SUBTOTAL      15,2  Zoned decimal                SUBTOTAL             

                                                                               

                                                                         Bottom

F5=Refresh   F11=Display unsorted   F12=Cancel                                 

DBCS characters in field DPCODE column heading. Heading defaults to field... +    

 

6¡¢ÎÒÃÇ¿ÉÒÔ·¢ÏÖ¸Õ²ÅËùÑ¡ÔñµÄÊý¾Ý¿â×Ö¶ÎÒѾ­·ÅÖÃÔÚÉè¼Æ½çÃæµ×¶Ë¡£

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

'''''''                                                                         

'''''''                                                                          

'''''''                                                                         

'''''''                                                                         

'''''''                                                                          

'''''''                                                                         

'''''''                                                                         

        --------------------------- End of Report -----------------------------

                                                                                

1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys       

 

2.2 ¶¨Òå¼Ç¼¸ñʽ£º

 

´òÓ¡¹ý³ÌÊÇͨ¹ýRPGIV³ÌÐòʹÓÃдÓï¾ä½«¼Ç¼Êä³öдÖÁ´òÓ¡Îļþ¡£Ð´Óï¾äºóÃæËùµ÷ÓõÄÊǼǼ¸ñʽ£¬Ã¿Ö´ÐÐÒ»´ÎRPGIVд³ÌÐò£¬¾Íµ÷ÓÃÒ»´ÎRLUÎļþÖеļǼ¸ñʽ£¬Òò´ËÎÒÃÇÊ×ÏÈÐèÒª¶¨Òå¼Ç¼¸ñʽ¡£

 

1¡¢ÔÚ×ó²à¶¨Òå¼üÈëDR(Define Record Format):

 

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

DR                                                                              

'''''''                                                                         

'''''''                                                                         

'''''''                                                                          

'''''''                                                                         

'''''''                                                                         

'''''''                                                                          

        --------------------------- End of Report -----------------------------

                                                                               

1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

 

 

 

2¡¢¼üÈëÖ´Ðк󣬿ÉÒÔ¿´¼ûDR¶¨Òå×Ô¶¯Éú³ÉµÄÃûΪRCD001¼Ç¼¸ñʽ¡£

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

RCD001                                                                         

        --------------------------- End of Report -----------------------------

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

F3=Exit   F11=Define field   F16=Delete field                                  

F22=Alternative keys         F24=More keys                                     

                                                                         

 

 

 

3¡¢²»¹»¹æ·¶°É£¬ÄǾ͸ÄÃû¡£¼üÈëF18£¬Ñ¡Ôñ¼Ç¼¹Ø¼ü×Ö¡£

 

´úÂë:

 

                           Work with Record Keywords                           

                                                                               

Record format  . . . . :   RCD001                                              

                                                                               

Type options, press Enter.                                                     

   2=Specify   4=Remove                                                          

                                                                               

Opt     Keyword            Opt     Keyword            Opt     Keyword         

         CDEFNT                     LPI                                         

         CHRSIZ                     PAGRTT                                     

         CPI                        PRTQLTY                                     

         DFNCHR                     SKIPA                                       

         DFNLIN                     SKIPB                                       

         DRAWER                     SPACEA                                     

         FNTCHRSET                  SPACEB                                     

         FONT                       TEXT                                       

         HIGHLIGHT                                                             

         IGCCDEFNT                                                             

         IGCCHRRTT                                                              

         INDTXT                                                                 

                                                                         Bottom

F3=Exit      F5=Refresh   F9=Input keyword parameters   F10=Rename record     

F12=Cancel   F16=Remove all keywords                                           

                                                                     

 

4¡¢ÔÙ°´F10=Rename record£¬½«¼Ç¼¸ñʽÃû¸ÄΪ£ºDETAIL¡£

 

´úÂë:

                              Rename Record Format                             

                                                                               

Number of keywords . . . . . . . . . :   0                                     

                                                                                

Type choice, press Enter.                                                     

                                                                               

   Record format  . . . . . . . . . . .   DETAIL       Name                     

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                               

F3=Exit   F5=Refresh   F12=Cancel                                             

                                                                   

 

5¡¢Á¬Ðø2´ÎÖ´Ðмüºó£¬¼Ç¼¸ñʽÃûÒѾ­¸ÄΪÁËDETAIL¡£

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

DETAIL                                                                         

        --------------------------- End of Report -----------------------------

                                                                               

                                                                                

                                                                               

                                                                              

                                                                                

                                                                               

1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys         

 

2.3 ·ÅÖÃÊý¾Ý¿â×ֶΣº

 

1¡¢ÔÚDETAIL¼üÈëVF(View Field)²åÈë×ֶι۲ìÃüÁ

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

VF                                                                              

        --------------------------- End of Report -----------------------------

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

                                                                                   

2¡¢¼üÈëÖ´ÐУ¬¿É¼û×ó²àÏÔʾÉú³ÉÒ»¸öFLD1×Ö¶ÎÇø×¼±¸·ÅÖÃF10ËùÑ¡ÔñµÄÊý¾Ý¿âÎļþ×ֶΣº

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                                                                            

DETAIL                                                                         

        --------------------------- End of Report -----------------------------

                                                                                

                                                                               

                                                                              

                                                                               

                                                                               

1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

                                                                               

 

3¡¢½«±à¼­ÆÁĻϷ½µÄÊý¾Ý¿âÎļþ×Ö¶ÎÐòºÅ°´×ֶαÈÀý¼üÈë¶ÔӦλÖã¬c±íʾ½«×ֶαíÍ··ÅÔÚÉÏ·½¡£

×¢Ò⣺һ¶¨Òª·ÅÖÃÓëFLD1ͬһÐÐÉÏ£»Í¬Ê±ÒªÔ¤ÏȹÀËãÒ»ÏÂÁô³öµÄÿ¸ö×ֶ㤶ÈÓëϸö×ֶγ¤¶ÈµÄ¼ä¸ô£¬·ÀÖ¹×Ö¶ÎÏ໥¸²¸Ç¡£

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1       1c         2c               3c                 4c                   

DETAIL                                                                         

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

F3=Exit   F11=Define field   F16=Delete field                                  

F22=Alternative keys         F24=More keys                                     

                                                                               

 

4¡¢¼üÈëÖ´ÐУ¬½«Êý¾Ý¿â×ֶηÅÖÃÔÚÉè¼Æ±¨¸æÉÏ¡£

¼ÙÉè³öÏÖÁË×ֶμ以Ïา¸Ç£¬¿ÉÒÔʹÓÃF13Ïû³ý×Ö¶ÎÇø£¬F15Òƶ¯×Ö¶ÎÇø£¬F16×Ö¶Îɾ³ý£¬ÒÔµ÷Õû¸÷¸ö×ֶμä¸ô¡£

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1       <....>     <....>              <....>             <......>           

RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL           

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                                

                                                                               

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

                                                                               

5¡¢ÔÚDETAILÃüÁîÐмüÈëÑù±¾Êý¾ÝÃüÁîSD5(Sample Data)£¬Ö´Ðкó²Î¼ûÏÂͼ£¬¿É¼ûÒѾ­Éú³É5ÐÐÑù±¾Êý¾Ý£º

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1       <....>     <....>              <....>             <......>           

RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL           

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00003 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                                

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

                                                                                

 

 

 

2.4 ¶¨Òå±íÍ·£º

 

1¡¢ÔÚ×ó²àÃüÁîÐмüÈëI²åÈëÒ»ÐУ¬²¢¼üÈëDR¶¨ÒåÒ»¸ö¼Ç¼¸ñʽ£¬Ö´ÐУº

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

DR                                                                             

FLD1       <....>     <....>              <....>             <......>           

RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL           

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00003 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999        

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                                

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

                                                                                   

 2¡¢È»ºóÔÚ¸Õ¸ÕÉú³ÉµÄ¼Ç¼¸ñʽÉϼüÈëDF£¬²¢ÇÒÔÚͬһ±à¼­ÐоÓÖÐλÖüüÈë¡°hhhhhhhhhh¡±£¬¶¨ÒåÒ»¸ö³£Êý×ֶΣº

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

DF                            hhhhhhhhhh                                       

FLD1       <....>     <....>              <....>             <......>           

RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL           

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

                                                                                   

 3¡¢¼üÈëÖ´ÐУ¬Éú³ÉеļǼ¸ñʽÃûRCD004ÒÔ¼°±íÍ·×ֶΣº

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                                       

RCD004                       hhhhhhhhhh                                        

FLD1       <....>     <....>              <....>             <......>           

RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL           

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

DF created 1 fields in record format RCD004.                                       

 

4¡¢Ê¹ÓÃF18È»ºóÔÙF10£¬¸úÉÏÃæͬÑù·½·¨¸Ä±äRCD004¼Ç¼¸ñʽÃûΪ£ºHEADER

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                                       

HEADER                       hhhhhhhhhh                                        

FLD1       <....>     <....>              <....>             <......>           

RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL           

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

                                                                                   

5¡¢½«¹â±êÒÆÖÁ³£Êý×Ö¶ÎhhhhhhhhhhÉÏ£¬¼üÈëF23½øÐб༭×ֶΣº

 

´úÂë:

 

                            Work with Field Keywords                           

                                                                               

Field  . . . . . . . . :   FLD001        Record format  . . . . :   HEADER     

                                                                               

Type options, press Enter.                                                     

   2=Specify   4=Remove                                                          

                                                                               

Opt     Keyword            Opt     Keyword            Opt     Keyword         

         ALIAS                      DFT                        IGCCHRRTT        

         BARCODE                    DLTEDT                     INDTXT           

         BLKFOLD                    EDTCDE                     MSGCON           

         CDEFNT                     EDTWRD                     PAGNBR           

         CHRID                      FLTFIXDEC                  PRTQLTY         

         CHRSIZ                     FLTPCN                     REFFLD           

         COLOR                      FNTCHRSET                  SKIPA           

         CPI                        FONT                       SKIPB           

         CVTDTA                     HIGHLIGHT                  SPACEA           

         DATE                       IGCALTTYP                  SPACEB           

         DATFMT                     IGCANKCNV                  TEXT             

         DATSEP                     IGCCDEFNT                  TIME             

                                                                        More...

F3=Exit   F5=Refresh   F9=Input keyword parameters   F10=Specify information   

F12=Cancel   F16=Remove all keywords                                           

                                                                             

6¡¢ÔÚDFTÑ¡ÏîÉϼüÈë2±à¼­³£ÊýÏִÐУ¬¼üÈë' Ö°¹¤ÐÅÏ¢ ' £¬´Ë´¦¶¨ÒåµÄÊDZ¾±¨±íµÄ±íÍ·£¬È»ºóÔÙ¼üÈë2´ÎÖ´ÐУº

 

´úÂë:

 

                                Specify Default                                 

                                                                               

Keyword  . . . . . . . :   DFT                                                 

Field  . . . . . . . . :   FLD001                                             

Record format  . . . . :   HEADER                                             

                                                                               

Type text of constant, press Enter.                                           

                                                                               

   ' Ö°¹¤ÐÅÏ¢ '                                                                 

                                                                               

                                                                               

F3=Exit   F5=Refresh   F12=Cancel   F16=Remove keyword                         

                                                                                             

 

 

7¡¢¼üÈëF10£¬È»ºóÔÙ¼üÈëF11½«Æäת»»Îª³£ÊýÏ

 

´úÂë:

 

                           Specify Field Information                            

                                                                               

Edited length . . . . . . . . . . . . :   10                                   

Record format . . . . . . . . . . . . :   HEADER                                

Number of keywords  . . . . . . . . . :   1                                   

Number of indicators  . . . . . . . . :   0                                   

Constant keyword  . . . . . . . . . . :   ' Ö°¹¤ÐÅÏ¢ '                         

                                                                               

                                                                               

Type choices, press Enter.                                                     

                                                                               

   Option indicators . . . . . . . . . .                 01-99, N01-N99         

     More indicators . . . . . . . . . .     N           Y=Yes, N=No           

   Starting line . . . . . . . . . . . .                 1-255                 

   Starting position . . . . . . . . . .    23           1-255, +nn             

                                                                                

F3=Exit   F5=Refresh   F11=Convert to named field   F12=Cancel                                                                                                 

                                                                  

8¡¢°´2´ÎÖ´ÐмüÍ˳ö±à¼­¡£

ÓÃWork with Field KeywordsͬÑùµÄ¶¨Òå·½·¨£¬¿ÉÒÔ¶Ô±íÍ·×ÖÌå½øÐб༭£¬ÏÂͼÏÔʾÁ˶¨Òå×ÖÐÎCHRSIZΪ2¡Á2ʱµÄ±à¼­×´Ì¬¡£

×¢Ò⣺ֻÓе±´òÓ¡ÒÔºó²ÅÄÜ¿´¼ûʵ¼Ê×ÖÐΣ¬¶øÔÚ5250ÖÕ¶ËÉÏÏÔʾ½ö½öÊÇÆÕͨ³ß´ç×ÖÌå¡£

 

´úÂë:

 

                             Specify Character Size                             

                                                                                

Keyword  . . . . . . . . . . . . . . :   CHRSIZ                               

Field  . . . . . . . . . . . . . . . :   FLD005                               

Record format  . . . . . . . . . . . :   HEADER                                

                                                                               

Type choices, press Enter.                                                     

                                                                                

   Expand character size:                                                       

                                                                               

    Width multiplier  . . . . . . . . .   2            1.0-20.0                  

                                                                               

    Height multiplier . . . . . . . . .   2            1.0-20.0                 

                                                                               

                                                                                

                                                                               

F3=Exit   F5=Refresh   F12=Cancel   F16=Remove keyword                         

                                                                                

9¡¢Í¬Ê±¶¨Òå±íÍ·ÌøÒ³¹Ø¼ü×ÖSKIPB£º

´úÂë:

                            Work with Field Keywords                           

                                                                               

Field  . . . . . . . . :   FLD005        Record format  . . . . :   HEADER     

                                                                               

Type options, press Enter.                                                     

   2=Specify   4=Remove                                                         

                                                                               

Opt     Keyword            Opt     Keyword            Opt     Keyword         

         ALIAS                      DFT                        IGCCHRRTT       

         BARCODE                    DLTEDT                     INDTXT           

         BLKFOLD                    EDTCDE                     MSGCON           

         CDEFNT                     EDTWRD                     PAGNBR           

         CHRID                      FLTFIXDEC                  PRTQLTY         

      >  CHRSIZ                     FLTPCN                     REFFLD           

         COLOR                      FNTCHRSET                  SKIPA           

         CPI                        FONT                2      SKIPB           

         CVTDTA                     HIGHLIGHT                  SPACEA           

         DATE                       IGCALTTYP                  SPACEB           

         DATFMT                     IGCANKCNV                  TEXT             

         DATSEP                     IGCCDEFNT                  TIME             

                                                                        More...

F3=Exit   F5=Refresh   F9=Input keyword parameters   F10=Specify information   

F12=Cancel   F16=Remove all keywords                                           

                                                                                   

 

10¡¢ÎªÊ²Ã´Òª¶¨ÒåSKIPBÄØ£¿¶ÔÓÚÁ´Ê½´òÓ¡Ö½À´Ëµ£¬Ã¿´Î»»Ò³Ê±£¬Ó¦¸ÃÌø¹ýÖ½·ìÔÙ´òÓ¡±íÍ·£¬SKIPB¾ÍÊÇÍê³ÉÕâ¸ö¹¦Äܵġ£

¼üÈëÖ´ÐУ¬Íê³É¶Ô±íÍ·µÄ¹Ø¼ü×ÖµÄÉè¼Æ¡£

ÔÚ±íÍ·Éè¼ÆÎÒÃǹ²¶¨ÒåÁËCHRSIZ¡¢SKIPB¡¢DFTÕâ3¸ö¹Ø¼ü×Ö¡£

´úÂë:

 

 

                              Specify Skip Before                               

                                                                               

Keyword  . . . . . . . . . . . . . . :   SKIPB                                 

Field  . . . . . . . . . . . . . . . :   FLD005                               

Record format  . . . . . . . . . . . :   HEADER                               

Number of indicators . . . . . . . . :   0                                      

                                                                               

Type choices, press Enter.                                                     

                                                                                

   Line number to skip to before                                               

     printing . . . . . . . . . . . . .     1           1-255                   

                                                                                

   Option indicators  . . . . . . . . .                 01-99, N01-N99         

                                                                               

     More indicators  . . . . . . . . .     N           Y=Yes, N=No             

                                                                                

                                                                               

                                                                               

                                                                                

F3=Exit   F5=Refresh   F12=Cancel   F16=Remove keyword                         

 

11¡¢¼üÈëÖ´Ðзµ»ØÉè¼Æ±¨¸æ£º

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                                       

HEADER                        Ö°¹¤ÐÅÏ¢                                         

FLD1       <.......>     <.......>              <.......>             <.....>   

RCD002     ¹ÍÔ±Âë        ²¿ÃÅÂë                 ¹ÍÔ±Ãû                С¼Æ     

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

                                                                                   

12¡¢¶¨Òå±íÍ·Ò³ºÅ£¬Ê¹µÃÿ´òÓ¡1Ò³£¬±íÍ·Ò³ºÅ×Ô¶¯¼Ó1¡£½«¹â±êÒƶ¯ÖÁ±íÍ·µÄÓÒÉϲ࣬¼üÈëF11¶¨ÒåÒ»¸öÒ³ºÅ×ֶΣº

 

´úÂë:

 

                            Define Field Information                           

                                                                               

Edited length . . . . . . . . . . . . :   1                                   

Record format . . . . . . . . . . . . :   HEADER                               

Number of keywords  . . . . . . . . . :   0                                   

Number of indicators  . . . . . . . . :   0                                   

                                                                                

Type choices, press Enter.                                                     

                                                                               

   Field . . . . . . . . . . . . . . . .   FLD009        Name                    

   Option indicators . . . . . . . . . .                 01-99, N01-N99         

     More indicators . . . . . . . . . .     N           Y=Yes, N=No           

   Starting line . . . . . . . . . . . .                 1-255                  

   Starting position . . . . . . . . . .   +31           1-255, +nn             

   Length of data  . . . . . . . . . . .     1           1-378, +nn, -nn       

                                                                               

                                                                                

                                                                        More...

F3=Exit   F5=Refresh   F10=Work with keywords   F11=Convert to constant field 

F12=Cancel                                                                      

                                                                       

13¡¢ÔÙ¼üÈëF10£¬Ôڹؼü×ÖPAGNBRÑ¡Ïî¼üÈë2£º

 

´úÂë:

 

                            Work with Field Keywords                           

                                                                                

Field  . . . . . . . . :   FLD009        Record format  . . . . :   HEADER     

                                                                               

Type options, press Enter.                                                     

   2=Specify   4=Remove                                                         

                                                                               

Opt     Keyword            Opt     Keyword            Opt     Keyword         

         ALIAS                      DFT                        IGCCHRRTT       

         BARCODE                    DLTEDT                     INDTXT           

         BLKFOLD                    EDTCDE                     MSGCON           

         CDEFNT                     EDTWRD              2      PAGNBR           

         CHRID                      FLTFIXDEC                  PRTQLTY         

         CHRSIZ                     FLTPCN                     REFFLD           

         COLOR                      FNTCHRSET                  SKIPA           

         CPI                        FONT                       SKIPB           

         CVTDTA                     HIGHLIGHT                  SPACEA            

         DATE                       IGCALTTYP                  SPACEB           

         DATFMT                     IGCANKCNV                  TEXT             

         DATSEP                     IGCCDEFNT                  TIME             

                                                                        More...

F3=Exit   F5=Refresh   F9=Input keyword parameters   F12=Cancel               

F16=Remove all keywords                                                       

Field FLD009 created in record format HEADER.                                     

 

14¡¢¼üÈë4´ÎÖ´ÐУ¬¶¨ÒåÒ³ºÅ¹Ø¼ü×ÖPAGNBR£¬ÔÚ¶¨Òå¹ý³ÌÖа´Ö´Ðв»±ØÀí²ÇÔÚÌáʾÐгöÏÖµÄERRORÐÅÏ¢£»·µ»Øµ½Specify Field Information½çÃ棺

 

´úÂë:

 

                           Specify Field Information                           

                                                                               

Edited length . . . . . . . . . . . . :   1                                   

Record format . . . . . . . . . . . . :   HEADER                               

Number of keywords  . . . . . . . . . :   1                                   

Number of indicators  . . . . . . . . :   0                                   

                                                                               

Type choices, press Enter.                                                     

                                                                                

   Field . . . . . . . . . . . . . . . .   FLD009        Name                   

   Option indicators . . . . . . . . . .                 01-99, N01-N99         

     More indicators . . . . . . . . . .     N           Y=Yes, N=No           

   Starting line . . . . . . . . . . . .                 1-255                 

   Starting position . . . . . . . . . .   +31           1-255, +nn             

   Length of data  . . . . . . . . . . .     1           1-378, +nn, -nn       

                                                                               

                                                                               

                                                                        More...

F3=Exit   F5=Refresh   F10=Work with keywords   F11=Convert to constant field 

F12=Cancel                                                                     

 

15¡¢¼üÈëF11½«Æäת»»Îª³£Êý×ֶΡ£¼üÈëÖ´ÐУ¬¿É¼ûPAGNBR×ֶζ¨ÒåÔÚ±íÍ·ÓҲࣺ

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                               <..>     

HEADER                        Ö°¹¤ÐÅÏ¢                                9999     

FLD1       <.......>     <.......>              <.......>             <.....>   

RCD002     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ         

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

 

16¡¢ÔÚ×ó²àÃüÁîÐÐÉÏHEADER¼Ç¼¸ñʽÉϼüÈëDF(Define Field)£¬Í¬Ê±ÔÚPAGNBR×Ö¶Î×ó²àÏàӦλÖüüÈëPage:£¬Ö´ÐкóÔÚÒ³ºÅ×Ö¶Î×ó²àÉú³É³£Êý×Ö¶ÎPage£º

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                               <..>     

DF                            Ö°¹¤ÐÅÏ¢                           Page:9999     

FLD1       <.......>     <.......>              <.......>             <.....>   

RCD002     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ         

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

                                                                                

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

 

17¡¢¼üÈëÖ´ÐУ¬ÏÖÔÚ±¨±íÉè¼ÆÍê³ÉÈçÏ£º

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>     

HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999     

FLD1       <.......>     <.......>              <.......>             <.....>   

RCD002     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ         

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                      

 

2.5 ºÏ²¢¼Ç¼¸ñʽ£º

 

ÎÒÃǼûµ½¼Ç¼¸ñʽһ¹²ÓÐÈý¸ö£ºHEADER¡¢DETAIL¡¢RCD002£¬ÐèÒª½«HEADERÓëRCD002ºÏ²¢ÔÚÒ»Æð¡£

 

1¡¢ÔÚ×ó²àÃüÁîÐÐRCD002ÉϼüÈëCLC(Change Line Format and Combine):

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>     

HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999     

FLD1       <.......>     <.......>              <.......>             <.....>   

CLC        ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ         

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

                                                                                

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                      

 

2¡¢¼üÈëÖ´ÐУ¬¿É¼ûRCD002±»ºÏ²¢µ½HEADER¼Ç¼¸ñʽÖУ¬ÔÚÆäÐÐ×î×ó²àÏÔʾ+±íʾ´ËÐÐΪHEADERµÄ¼Ç¼¸ñʽÐøÐУº

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>     

HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999     

FLD1       <.......>     <.......>              <.......>             <.....>   

00002 +     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ         

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

                                                                                    

3¡¢½øÒ»²½Ê¹ÓÃDR£¨¶¨ÒåÒ»¸ö¼Ç¼¸ñʽ£©¡¢DF£¨¶¨ÒåÐéÏß×ֶΣ©¡¢CLC£¨ºÏ²¢¼Ç¼¸ñʽÖÁ±íÍ·£©Éú³É°´×ֶοí¶È·Ö¸îÐéÏߣ¬¼´Ã¿Ò»¸ö×Ö¶ÎÓë±êÌâÖ®¼äÉú³É¡®------¡¯ÐÞÊα¨±í¡£

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>     

HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999     

FLD1       <.......>     <.......>              <.......>             <.....>   

00002 +     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ         

FLD1      <........>   <.........>     <...........>      <.............>       

00003 +   ----------   -----------     -------------      ---------------       

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00009 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

        --------------------------- End of Report -----------------------------

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

 

2.6 ½¨Á¢±äÁ¿ÐÍ×ֶΣº

 

1¡¢Ê×ÏÈʹÓÃDR¡¢DFÒÔ¼°ÖØÃüÃû¹¦Äܶ¨ÒåÒ»¸ö¼Ç¼¸ñʽTOTALN¡£½«¹â±êÒÆÖÁС¼Æ×Ö¶ÎSUBTOTALÏ·½£¬¼üÈëF11¶¨ÒåÒ»¸ö»ã×Ü×ֶΡ£

×Ö¶ÎÃûÎÒÃǶ¨ÒåΪTOTALX£¬×ֶ㤶È17£¬Êý¾ÝÀàÐÍΪ2¡£

 

´úÂë:

 

                            Define Field Information                           

                                                                                

Edited length . . . . . . . . . . . . :   1                                   

Record format . . . . . . . . . . . . :   TOTALN                               

Number of keywords  . . . . . . . . . :   0                                    

Number of indicators  . . . . . . . . :   0                                   

                                                                               

Type choices, press Enter.                                                     

                                                                               

   Field . . . . . . . . . . . . . . . .   TOTALX        Name                   

   Option indicators . . . . . . . . . .                 01-99, N01-N99         

     More indicators . . . . . . . . . .     N           Y=Yes, N=No           

   Starting line . . . . . . . . . . . .                 1-255                 

   Starting position . . . . . . . . . .    51           1-255, +nn             

   Length of data  . . . . . . . . . . .    17           1-378, +nn, -nn       

                                                                               

                                                                        More...

F3=Exit   F5=Refresh   F10=Work with keywords   F11=Convert to constant field 

F12=Cancel                                                                     

 

2¡¢PageDownÏ·­Ò»Ò³£¬¶¨ÒåСÊýµãλÖÃΪ2룬²ÎÕÕ×Ö¶ÎY£¬Ê¹ÓòÎÕÕֵΪN£º

´úÂë:

                            Define Field Information                           

                                                                               

Edited length . . . . . . . . . . . . :   1                                    

Record format . . . . . . . . . . . . :   TOTALN                               

Number of keywords  . . . . . . . . . :   0                                   

Number of indicators  . . . . . . . . :   0                                    

                                                                               

Type choices, press Enter.                                                     

                                                                                

   Data type . . . . . . . . . . . . . .   2             1=Character           

                                                         2=Zoned               

                                                         3=Floating point       

                                                         4=Open                 

                                                         5=Graphic             

                                                         6=Date                 

                                                         7=Time                 

                                                         8=Time stamp           

   Decimal positions . . . . . . . . . .  2           0-31, +n, -n           

   Reference a field . . . . . . . . . .   Y           Y=Yes, N=No           

   Use referenced values . . . . . . .  N           Y=Yes, N=No           

                                                                         Bottom

F3=Exit   F5=Refresh   F10=Work with keywords   F11=Convert to constant field 

F12=Cancel                                                                     

 

3¡¢°´2´ÎF10½øÈëWork with Field Keywords£¬ÔÚREFFLDʹÓÃÑ¡Ïî2¶¨Òå²ÎÕÕÊý¾Ý¿â×ֶΣº

´úÂë:

                            Work with Field Keywords                           

                                                                               

Field  . . . . . . . . :   TOTALX        Record format  . . . . :   TOTALN     

                                                                               

Type options, press Enter.                                                     

   2=Specify   4=Remove                                                         

                                                                               

Opt     Keyword            Opt     Keyword            Opt     Keyword         

         ALIAS                      DFT                        IGCCHRRTT       

         BARCODE                    DLTEDT                     INDTXT           

         BLKFOLD                    EDTCDE                     MSGCON           

         CDEFNT                     EDTWRD                     PAGNBR           

         CHRID                      FLTFIXDEC                  PRTQLTY         

         CHRSIZ                     FLTPCN              2      REFFLD           

         COLOR                      FNTCHRSET                  SKIPA           

         CPI                         FONT                       SKIPB           

         CVTDTA                     HIGHLIGHT                  SPACEA           

         DATE                       IGCALTTYP                  SPACEB           

         DATFMT                     IGCANKCNV                  TEXT             

         DATSEP                     IGCCDEFNT                  TIME              

                                                                        More...

F3=Exit   F5=Refresh   F9=Input keyword parameters   F12=Cancel               

F16=Remove all keywords                                                       

Field TOTALX created in record format TOTALN.                                     

 

 

4¡¢¼üÈëÖ´ÐУ¬ÔÚFieldʹÓÃF4£¬Ñ¡Ôñ¶ÔÓ¦×Ö¶ÎSUBTOTAL£¬È»ºóÔÙ¼üÈë3´ÎÖ´Ðзµ»ØÉè¼Æ±¨¸æ£º

´úÂë:

                            Specify Referenced Field                           

                                                                               

Keyword . . . . . . . . . . . . . . :   REFFLD                                 

Field . . . . . . . . . . . . . . . :   TOTALX                                 

Record format . . . . . . . . . . . :   TOTALN                                 

                                                                                

Type choices, press Enter.                                                     

                                                                               

   Field . . . . . . . . . . . . . . .   SUBTOTAL        Name                    

                                                         F4 for list           

     Record format . . . . . . . . . .     EMPLOY        Name                   

                                                         F4 for list            

                                                                               

   File  . . . . . . . . . . . . . . .   EMPLOYEES       Name                   

                                                         *SRC                   

                                                         F4 for list           

     Library . . . . . . . . . . . . .     EDISYSTEM     Name                   

                                                         *CURLIB               

                                                         *LIBL                 

                                                                               

F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F16=Remove keyword             

 

5¡¢½«¹â±ê·ÅÖÃÔÚ¸Õ¸ÕÉú³ÉµÄ×Ö¶ÎTOTALXʹÓÃF23±à¼­×Ö¶ÎÏÔʾ¸ñʽ£º

 

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>     

HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999     

FLD1       <.......>     <.......>              <.......>             <.....>   

00002 +     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ         

FLD1      <........>   <.........>     <...........>      <.............>       

00003 +   ----------   -----------     -------------      ---------------       

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00009 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

FLD1                                                      <...............>     

TOTALN                                                   99999999999999999     

        --------------------------- End of Report -----------------------------

                                                                               

F3=Exit   F11=Define field   F16=Delete field                                  

F22=Alternative keys         F24=More keys                                     

 

6¡¢¼üÈë2¶¨Òå±à¼­ÂëEDTCDE£¬¼üÈëÖ´ÐУ¬½«±à¼­Â붨ÒåΪO£¬È»ºó¼üÈë2´ÎÖ´ÐУº

´úÂë:

                               Specify Edit Code                               

                                                                                

Keyword  . . . . . . . . . . . . . . :   EDTCDE                               

Field  . . . . . . . . . . . . . . . :   TOTALX                               

Record format  . . . . . . . . . . . :   TOTALN                               

                                                                               

Type choices, press Enter.                                                     

                                                                                

   Edit code  . . . . . . . . . . . . .   O            1-9, A-D, J-Q, W-Z       

                                                                               

   Fill character . . . . . . . . . . .                *                        

                                                       Currency symbol         

                                                                               

                                                                                

F3=Exit   F5=Refresh   F12=Cancel   F16=Remove keyword                         

 

7¡¢Ê¹ÓÃInsert²åÈë/Deleteɾ³ý¼üÏò×ó/ÓÒµ÷ÕûTOTALX×Ö¶ÎλÖá£

×îºóÍêÕûµÄ±¨±íÉè¼ÆÍê³ÉÈçÏ£º

´úÂë:

 

Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>     

HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999     

FLD1       <.......>   <.......>        <.......>            <.....>           

00002 +     ¹ÍÔ±Âë      ²¿ÃÅÂë           ¹ÍÔ±Ãû               С¼Æ             

FLD1      <........>   <.........>     <...........>      <.............>       

00003 +   ----------   -----------     -------------      ---------------       

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00009 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

FLD1                                                   <.....................> 

TOTALN                                               9 999,999,999,999,999.99 

        --------------------------- End of Report -----------------------------

                                                                                

F3=Exit   F11=Define field   F16=Delete field                                 

F22=Alternative keys         F24=More keys                                     

 

2.7 ±£´æ±¨±íÉè¼ÆÃûÉú³É´òÓ¡ÎļþPRTF£º

 

1¡¢°´F3Í˳ö£¬Ñ¡ÔñÉú³É´òÓ¡ÎļþCreate printer file£¬¸Ä±äĬÈÏÖµChange defaults£¬¿ÉÒÔÑ¡ÔñÉú³ÉÔ­Ðͱ¨¸æPrototype report ¡£

´úÂë:

                                    Exit RLU                                   

                                                                               

Type choices, press Enter.                                                      

                                                                               

   Option  . . . . . . . . . . . . . .   1              1=Save and exit         

                                                        2=Exit without saving   

                                                        3=Resume               

     Member  . . . . . . . . . . . . .     LPRTF01      Name                   

     File  . . . . . . . . . . . . . .     QDDSSRC      Name                   

     Library . . . . . . . . . . . . .     EDISYSTEM    Name                   

     Text  . . . . . . . . . . . . . .     Demo for Design Report               

                                                                               

   Create printer file . . . . . . . .   y              Y=Yes, N=No             

     Change defaults . . . . . . . . .     y            Y=Yes, N=No             

   Prototype report  . . . . . . . . .   y              Y=Yes, N=No             

     Change defaults . . . . . . . . .     N            Y=Yes, N=No             

   Submit to batch . . . . . . . . . .   N              Y=Yes, N=No             

     Job description . . . . . . . . .     *USRPRF      Name, *USRPRF, *RLU     

     Library . . . . . . . . . . . . .                  Name, *LIBL, *CURLIB   

                                                                               

F5=Refresh   F12=Cancel                                                       

 

2¡¢¼üÈëÖ´ÐУ¬×ªµ½Éú³É´òÓ¡Îļþ½çÃæCreate Printer File (CRTPRTF)£¬ÔÙʹÓÃF10Ð޸ĸ½¼ÓÖµ£¬ºáÏòѹËõ´òÓ¡×Ö·û£ºÔÚÉú³É´òÓ¡ÎļþÑ¡ÏÿӢ´ç10¸ö×Ö·û¸ÄΪ15¸ö×Ö·û£¬°´A3³ß´çµÄÖ½ÐÍÉè¼Æʱ£¬Ö½¿íΪ12Ó¢´ç£¬Ã¿ÐдòÓ¡198»òÕß204¸ö×Ö·û(Óë¾ßÌå´òÓ¡»úÓйØ)£¬15CPI£¨Ã¿Ó¢´ç×Ö·ûÊý£©¡Á 198 ¡Ö 12Ó¢´ç ¡£

´úÂë:

                          Create Printer File (CRTPRTF)                         

                                                                               

Type choices, press Enter.                                                     

                                                                               

                                                                                

                            Additional Parameters                               

                                                                               

Page size:                                                                      

   Length--lines per page . . . .   66            .001-255.000                 

   Width--positions per line  . . > 198           .001-378.000                 

   Measurement method . . . . . .   *ROWCOL       *ROWCOL, *UOM                 

Lines per inch . . . . . . . . .   6             6, 3, 4, 7.5, 7,5, 8, 9, 12   

Characters per inch  . . . . . .   15            10, 5, 12, 13.3, 13,3, 15... 

Front margin:                                                                  

   Offset down  . . . . . . . . .   *DEVD         0-57.790, *DEVD               

   Offset across  . . . . . . . .                 0-57.790                     

Back margin:                                                                    

   Offset down  . . . . . . . . .   *FRONTMGN     0-57.790, *FRONTMGN, *DEVD   

   Offset across  . . . . . . . .                 0-57.790                     

Overflow line number . . . . . .   60            1-255                          

                                                                        More...

F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display   

F24=More keys                                                                 

 

3¡¢ÏµÍ³ÌáʾÒѾ­³É¹¦Éú³ÉÁË´òÓ¡ÎļþLPRTF01¡£

ÎÒÃÇ¿ÉÒÔʹÓÃPDMÑ¡Ïî19=Change using RLU ¶ÔÆäÔ´Îļþ½øÐÐÐ޸ġ£

µ±È»£¬ÎÒÃÇÒ²¿ÉÒÔͨ¹ý2Ö±½Ó¶ÔÔ´Âë½øÐÐÐ޸ģ»³ý·ÇÓÐÌرðÐèÒª£¬¶ÔÓÚRLU£¬ÎÒÃDz»Ìᳫֱ½Ó¶ÔÔ´Âë½øÐÐÐ޸ġ£

´úÂë:

                           Work with Members Using PDM                 S65F6F8B

                                                                                

File  . . . . . .   QDDSSRC                                                   

   Library . . . .     EDISYSTEM            Position to  . . . . .             

                                                                                

Type options, press Enter.                                                     

   16=Run procedure    17=Change using SDA       19=Change using RLU           

   25=Find string      54=Compare                55=Merge ...                   

                                                                                

Opt  Member      Type        Text                                             

19   LPRTF01     PRTF        Demo for Design Report                           

      MASCDP      PF          SYSTEM CODE DETAIL                               

      MCITAP      PF          <V1.3 >ITEM MASTER                               

      MCITCL5     LF          <XLLC>                                           

      MCITCP      PF          PROCESS SEQUENCE ITEM MASTER                     

      MENUPGM     PF          EDI System Pulldown Menu PF                       

      MJR84TJ     PRTF        ITEM RECEIPT PAGESIZE(51 132 *ROWCOL) OVRFLW(51)N

      REFILE      PF          Data Dictionary Reference File (exercise)         

                                                                        More...

Parameters or command                                                         

===>                                                                            

F3=Exit          F4=Prompt             F5=Refresh            F6=Create         

F9=Retrieve      F10=Command entry     F23=More options      F24=More keys     

 

4¡¢ÎÒÃÇ¿ÉÒÔͨ¹ýSPLF¼ì²é±àÒë³öÏÖµÄÎÊÌâºÍ±íÑùÊä³ö£¬¶ÔÓÚ±àÒë´íÎó£¬ÎÒÃÇ¿ÉÒÔͨ¹ýSPLF±àÒëÁбí¼ì²é´íÎó²¢ÐÞÕý¡£

×îÖÕÉú³ÉµÄ±¨±íÑù±¾ÈçÏ£º

´úÂë:

  ÁР . . . :       1  71         Éè¼Æ±¨¸æ                    EDISYSTEM/QDDSSRC

RLU==>                                                                 LPRTF01

BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ---------------------------  ¿ªÊ¼Ò³Âë  001 ----------------------------

FLD1                          <........>                          <...><..>     

HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999     

FLD1       <.......>   <......>        <......>            <....>               

00002 +     ¹ÍÔ±Âë      ²¿ÃÅÂë          ¹ÍÔ±Ãû              С¼Æ               

FLD1      <........>   <.........>     <...........>      <.............>       

00003 +   ----------   -----------     -------------      ---------------       

FLD1       <...>      <.....>          <..........>       <.............>       

DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999        

00009 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

FLD1                                                   <.....................> 

TOTALN                                                 999,999,999,999,999.99 

        -----------------------------  ±¨¸æ½áÊø  ------------------------------

                                                                               

F3= Í˳ö    F11= ¶¨Òå×ֶΠ   F16= ɾ³ý×ֶΠ                                    

F22= ±¸Óüü                  F24= ÆäÓà¼ü                                       

 

¸½£ºLPRTF01Õâ¸öPRTFµÄÔ´Â룺

 

´úÂë:

 

    A*%%TS  DD  20041214  190605  LIU         REL-V5.1    iSeries WDT

     A*%%FI+1066660100000000000000000000000000000000000000000000000000

     A*%%FI           0000000000000000000000000000000000000000000000000

     A*%%PR 1066198I

     A*%%FD Demo for Design Report

     A*%%EC

     A          R HEADER

     A*%%TS  DD  20041214  190447  LIU         REL-V5.1    iSeries WDT

     A*%%RI 00000

     A            FLD005        10A  O    23CHRSIZ(2.0 2.0)

     A                                      SKIPB(1)

     A            FLD010         5A  O   +26

     A                                    +0PAGNBR

     A            FLD008         9A  O     4SPACEB(1)

     A                                    +3'²¿ÃÅÂë'

     A                                    +8'¹ÍÔ±Ãû'

     A                                   +12'С¼Æ'

     A            FLD011        10A  O     3SPACEB(1)

     A            FLD012        11A  O    +3

     A            FLD013        13A  O    +5

     A            FLD014        15A  O    +6

     A*%%GP REPORT1    01

     A*%%SS

     A*%%SN FLD005     Ö°¹¤ÐÅÏ¢

     A*%%SN FLD010     Page:

     A*%%SN FLD008     ¹ÍÔ±Âë

     A*%%SN FLD011     ----------

     A*%%SN FLD012     -----------

     A*%%SN FLD013     -------------

     A*%%SN FLD014     ---------------

     A          R DETAIL

     A*%%TS  DD  20041214  190447  LIU         REL-V5.1    iSeries WDT

     A*%%RI 00005

     A                                      SPACEB(1)

     A            DPCODE    R        O     4REFFLD(EMPLOY/DPCODE +

     A                                      EDISYSTEM/EMPLOYEES)

     A            EYCODE    R        O    +6REFFLD(EMPLOY/EYCODE +

     A                                      EDISYSTEM/EMPLOYEES)

     A            EYNAME    R        O   +10REFFLD(EMPLOY/EYNAME +

     A                                      EDISYSTEM/EMPLOYEES)

     A            SUBTOTAL  R        O    +7REFFLD(EMPLOY/SUBTOTAL +

     A                                      EDISYSTEM/EMPLOYEES)

     A*%%GP REPORT1    02

     A          R TOTALN

     A*%%TS  DD  20041214  190447  LIU         REL-V5.1    iSeries WDT

     A*%%RI 00000

     A                                      SPACEB(1)

     A            TOTALX    R   17S 2O    48REFFLD(EMPLOY/SUBTOTAL +

     A                                      EDISYSTEM/EMPLOYEES)

     A                                      EDTCDE(O)

     A*%%GP REPORT1    03

     A*%%SS

     A*%%SN TOTALX     99999999999999999

     A*%%CS+99999CRTPRTF

     A*%%CS+    FILE(QTEMP/QPRDRPT   )

     A*%%CS+    DEVTYPE(*SCS)

     A*%%CS     PAGESIZE(*N       198      *N     )   

 

7.8              ÀûÓÃRLUÉè¼Æ´òÓ¡Îļþ

 

RPG³ÌÐòÉè¼ÆµÄ³õÖÔ¾ÍÊÇΪÁËÉè¼Æ±¨±íÒÔ¹©ÏµÍ³´òÓ¡¡£Ëæ׿¼ÊõµÄ¸Ä½øºÍOS/400°æ±¾µÄ²»¶ÏÉý¼¶£¬ÏÖÔÚµÄÐí¶àÊä³öÉ豸¶¼ÒѾ­¸Ä±äÁË´«Í³±¨±íµÄÓ÷¨£¬Ô­À´Ê¹ÓóÌÐò¶¨Ò嶨ÒåÎļþÉè¼Æ±¨±í£¬Ä¿Ç°Ôò¾­³£²ÉÓñ¨±íÉè¼Æ¹¤¾ßRLUÀ´Éè¼Æ´òÓ¡ÎļþPRTF£¬È»ºóÔÙͨ¹ýRPGIV+PRTF×éºÏÀ´±àÖƳÌÐò¡£

±¾ÎĽ«ÒÔ±¾µØOS/400 V5R2M0Ϊ»ù×¼£¬Ñ­Ðò½¥½øµØ½²½âRLUµÄʹÓ÷½·¨£¬ÏÂÃæÒÔRLUÉè¼ÆÒ»¸öA3Ö½ÐÍ(11¡Á12 inch¡¢Á´Ê½´òÓ¡Ö½)ΪÀý¡£

 

Ò»¡¢PFÎļþ˵Ã÷£º

 

1¡¢EDISYSTEM/QDDSSRC(REFILE)ΪÊý¾Ý¹«¹²×ÖµäPF£º

 

     A* CREATE BY TRF.LIUYUANYAO  2004.12.12

     A* DATA DICTIONARY REFERENCE FILE

     A*----------------------------------------------------

     A          R REFMT

     **

     A* CHARACTER SET

     A            CODE           5A

     A            ID             7A

     **

     A* DBCS-OPEN SET

     A            NAME1         12O

     A            NAME2         12O

     A            DESCRPT       30O

     **

     A** NUMERIAL SET

     A            AMOUNT        15  2

     A            PRICE         11  2

     A            QUATITY        7  0

     **

     A** DATE SET

     A            DATE1           L

 

2¡¢EDISYSTEM/QDDSSRC(EMPLOYEES)Ϊ²ÎÕÕÊý¾Ý¹«¹²×ÖµäµÄÆäÖÐÒ»¸öPF£º

 

     A* PROGRAMER    : TRF.LIUYUANYAO 2004.12.14

     A* PROGRAM NAME : EMPLOYEES

     A*****************************************************************

     A                                      REF(*LIBL/REFILE)

     A                                      UNIQUE

     A          R EMPLOY

     A            EYCODE    R               REFFLD(ID)

     A                                      COLHDG('¹ÍÔ±Âë')

     A            DPCODE    R               REFFLD(CODE)

     A                                      COLHDG('²¿ÃÅÂë')

     A            EYNAME    R               REFFLD(NAME2)

     A                                      COLHDG('¹ÍÔ±Ãû')

     A            SUBTOTAL  R               REFFLD(AMOUNT)

     A                                      COLHDG('С¼Æ')

     A*

     A          K EYCODE

     A          K DPCODE

 

¶þ¡¢Ê¹ÓÃRLUµÄ¾ßÌå²Ù×÷²½Ö裺

 

2.1 Ϊ´òÓ¡ÎļþÑ¡ÔñÊý¾Ý¿â£º

 

1¡¢ÔÚOS/400ÃüÁîÐÐÇÃÈëSTRRLU+F4£¬·Ö±ðÔÚSource file¡¢Library¡¢Source memberÊäÈë¶ÔÓ¦ÄÚÈÝ£¬²¢ÇÒ¶¨ÒåPage width...198 ¡£

 

                      Start Report Layout Utility (STRRLU)                     

                                                                               

 Type choices, press Enter.                                                    

                                                                                

 Source file  . . . . . . . . . . > QDDSSRC       Name, *PRV                   

   Library  . . . . . . . . . . . >   EDISYSTEM   Name, *LIBL, *CURLIB, *PRV   

 Source member  . . . . . . . . . > LPRTF01       Name, *PRV                    

 Option . . . . . . . . . . . . .   2             2, 6                         

 Page width . . . . . . . . . . . > 198           1-378, *SAME                 

 Text 'description' . . . . . . . > 'DEMO for Design Report'                    

                                                                               

                                                                               

                                                                               

                                                                                

                                                                         Bottom

 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display   

 F24=More keys                                                                  

                                                                               

 

 

2¡¢Ö´Ðкó³öÏÖÈçÏÂЧ¹û£¬RLUչʾ³ö±¨±íÉè¼ÆÆÁÃæ¡£

   ÎÒÃÇ¿ÉÒÔʹÓÃSEU¶ÔÆä½øÐб༭£º×ó±ßµÄ'''''''Ϊ¹¦Äܶ¨ÒåÇøÓò£¬¿Õ°×ÇøΪÉè¼Æ±à¼­ÏÔʾÇøÓò£»×ó²à¿ªÊ¼BASEÏÔʾÁË´òӡʱ³ö±ê³ß£»...+... 1 ...+... 2    ×î´ó¿ÉÒÔ¶¨Òå378¸ö×Ö·ûλÖá£

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

'''''''                                                                         

'''''''                                                                        

'''''''                                                                        

'''''''                                                                         

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                         

'''''''                                                                        

'''''''                                                                        

'''''''                                                                         

'''''''                                                                        

        --------------------------- End of Report -----------------------------

                                                                                

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

Record length of source file greater than 92.                                 +

 

 

3¡¢°´F10£¬ÊäÈëLibrary¡¢File¡¢Record£¬½«¹â±êÍ£ÔÚFieldÀ¸°´F4 £º

 

 

 

4¡¢³öÏÖÈçϽçÃæºóÔÙÔÚFieldÀ¸°´F4£º

 

                              Add Database Fields                              

                                                                               

 Type choices, press Enter.                                                    

                                                                               

   File . . . . . . . . . . .   EMPLOYEES       Name, F4 for list              

     Library  . . . . . . . .     EDISYSTEM     Name, *LIBL, *CURLIB           

   Record format  . . . . . .   EMPLOY          Name, F4 for list              

   Field  . . . . . . . . . .                   Name, F4 for list              

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

 F4=Prompt   F5=Refresh   F12=Cancel                                           

 Specify field name.                                                           

 

 

5¡¢Ö´Ðкó¿É¼ûÏÂͼ£¬¼üÈë1=Select£¬Ñ¡ÔñÊý¾Ý¿âËùÓеÄ×ֶΣ»È»ºóÁ¬Ðø¼üÈë3´ÎÖ´ÐУº

 

                             Select Database Fields                            

                                                                               

 File . . . . . . . . :   EMPLOYEES       Record . . . . . . . :   EMPLOY       

   Library  . . . . . :     EDISYSTEM                                          

                                                                               

 Position to  . . . . .                Field                                   

 Subset . . . . . . . .   *ALL         *ALL, name, *generic*                   

                                                                               

 Type options, press Enter.                                                    

   1=Select   8=Display field description                                      

                                                                               

                                                          Column               

 Opt     Field       Length  Type                         Heading              

  1       DPCODE           5  Character                    DPCODE               

  1       EYCODE           7  Character                    EYCODE               

  1       EYNAME          12  Bracketed DBCS               EYNAME               

  1       SUBTOTAL      15,2  Zoned decimal                SUBTOTAL             

                                                                               

                                                                                

                                                                               

                                                                               

                                                                         Bottom

 F5=Refresh   F11=Display unsorted   F12=Cancel                                

 DBCS characters in field DPCODE column heading. Heading defaults to field... +

 

 

6¡¢ÎÒÃÇ¿ÉÒÔ·¢ÏÖ¸Õ²ÅËùÑ¡ÔñµÄÊý¾Ý¿â×Ö¶ÎÒѾ­·ÅÖÃÔÚÉè¼Æ½çÃæµ×¶Ë¡£

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

'''''''                                                                        

'''''''                                                                        

'''''''                                                                         

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                         

'''''''                                                                        

'''''''                                                                        

'''''''                                                                         

'''''''                                                                        

        --------------------------- End of Report -----------------------------

                                                                                

 1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                     

                                                                               

 

 

2.2 ¶¨Òå¼Ç¼¸ñʽ£º

                                                                               

    ´òÓ¡¹ý³ÌÊÇͨ¹ýRPGIV³ÌÐòʹÓÃдÓï¾ä½«¼Ç¼Êä³öдÖÁ´òÓ¡Îļþ¡£Ð´Óï¾äºóÃæËùµ÷ÓõÄÊǼǼ¸ñʽ£¬Ã¿Ö´ÐÐÒ»´ÎRPGIVд³ÌÐò£¬¾Íµ÷ÓÃÒ»´ÎRLUÎļþÖеļǼ¸ñʽ£¬Òò´ËÎÒÃÇÊ×ÏÈÐèÒª¶¨Òå¼Ç¼¸ñʽ¡£

 

1¡¢ÔÚ×ó²à¶¨Òå¼üÈëDR(Define Record Format):

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

DR                                                                             

'''''''                                                                        

'''''''                                                                         

'''''''                                                                        

'''''''                                                                        

'''''''                                                                         

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                        

'''''''                                                                         

'''''''                                                                        

        --------------------------- End of Report -----------------------------

                                                                                

 1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

2¡¢¼üÈëÖ´Ðк󣬿ÉÒÔ¿´¼ûDR¶¨Òå×Ô¶¯Éú³ÉµÄÃûΪRCD001¼Ç¼¸ñʽ¡£

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

 RCD001                                                                        

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

 1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

 F3=Exit   F11=Define field   F16=Delete field                                  

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

3¡¢²»¹»¹æ·¶°É£¬ÄǾ͸ÄÃû¡£¼üÈëF18£¬Ñ¡Ôñ¼Ç¼¹Ø¼ü×Ö¡£

 

                           Work with Record Keywords                           

                                                                               

 Record format  . . . . :   RCD001                                             

                                                                                

 Type options, press Enter.                                                    

   2=Specify   4=Remove                                                        

                                                                                

 Opt     Keyword            Opt     Keyword            Opt     Keyword         

         CDEFNT                     LPI                                        

         CHRSIZ                     PAGRTT                                      

         CPI                        PRTQLTY                                    

         DFNCHR                     SKIPA                                      

         DFNLIN                     SKIPB                                      

         DRAWER                     SPACEA                                     

         FNTCHRSET                  SPACEB                                     

         FONT                       TEXT                                       

         HIGHLIGHT                                                              

         IGCCDEFNT                                                             

         IGCCHRRTT                                                             

         INDTXT                                                                 

                                                                         Bottom

 F3=Exit      F5=Refresh   F9=Input keyword parameters   F10=Rename record     

 F12=Cancel   F16=Remove all keywords                                           

                                                                               

 

 

4¡¢ÔÙ°´F10=Rename record£¬½«¼Ç¼¸ñʽÃû¸ÄΪ£ºDETAIL¡£

 

                              Rename Record Format                             

                                                                               

 Number of keywords . . . . . . . . . :   0                                     

                                                                               

 Type choice, press Enter.                                                     

                                                                                

   Record format  . . . . . . . . . . .   DETAIL       Name                    

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

 F3=Exit   F5=Refresh   F12=Cancel                                             

                                                                               

 

 

5¡¢Á¬Ðø2´ÎÖ´Ðмüºó£¬¼Ç¼¸ñʽÃûÒѾ­¸ÄΪÁËDETAIL¡£

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

 DETAIL                                                                        

        --------------------------- End of Report -----------------------------

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

 1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

2.3 ·ÅÖÃÊý¾Ý¿â×ֶΣº

 

1¡¢ÔÚDETAIL¼üÈëVF(View Field)²åÈë×ֶι۲ìÃüÁ

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

 VF                                                                            

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

 1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

2¡¢¼üÈëÖ´ÐУ¬¿É¼û×ó²àÏÔʾÉú³ÉÒ»¸öFLD1×Ö¶ÎÇø×¼±¸·ÅÖÃF10ËùÑ¡ÔñµÄÊý¾Ý¿âÎļþ×ֶΣº

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                                                                           

 DETAIL                                                                        

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                               

                                                                                

 1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                   

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

3¡¢½«±à¼­ÆÁĻϷ½µÄÊý¾Ý¿âÎļþ×Ö¶ÎÐòºÅ°´×ֶαÈÀý¼üÈë¶ÔӦλÖã¬c±íʾ½«×ֶαíÍ··ÅÔÚÉÏ·½¡£

×¢Ò⣺һ¶¨Òª·ÅÖÃÓëFLD1ͬһÐÐÉÏ£»Í¬Ê±ÒªÔ¤ÏȹÀËãÒ»ÏÂÁô³öµÄÿ¸ö×ֶ㤶ÈÓëϸö×ֶγ¤¶ÈµÄ¼ä¸ô£¬·ÀÖ¹×Ö¶ÎÏ໥¸²¸Ç¡£

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1       1c         2c               3c                 4c                   

 DETAIL                                                                        

        --------------------------- End of Report -----------------------------

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 1:DPCODE   2:EYCODE   3:EYNAME   4:SUBTOTAL                                    

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

4¡¢¼üÈëÖ´ÐУ¬½«Êý¾Ý¿â×ֶηÅÖÃÔÚÉè¼Æ±¨¸æÉÏ¡£

¼ÙÉè³öÏÖÁË×ֶμ以Ïา¸Ç£¬¿ÉÒÔʹÓÃF13Ïû³ý×Ö¶ÎÇø£¬F15Òƶ¯×Ö¶ÎÇø£¬F16×Ö¶Îɾ³ý£¬ÒÔµ÷Õû¸÷¸ö×ֶμä¸ô¡£

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1       <....>     <....>              <....>             <......>          

 RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL          

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

5¡¢ÔÚDETAILÃüÁîÐмüÈëÑù±¾Êý¾ÝÃüÁîSD5(Sample Data)£¬Ö´Ðкó²Î¼ûÏÂͼ£¬¿É¼ûÒѾ­Éú³É5ÐÐÑù±¾Êý¾Ý£º

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1       <....>     <....>              <....>             <......>          

 RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL           

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00003 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                  

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

2.4 ¶¨Òå±íÍ·£º

 

1¡¢ÔÚ×ó²àÃüÁîÐмüÈëI²åÈëÒ»ÐУ¬²¢¼üÈëDR¶¨ÒåÒ»¸ö¼Ç¼¸ñʽ£¬Ö´ÐУº

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

DR                                                                             

FLD1       <....>     <....>              <....>             <......>          

 RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL          

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00003 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

2¡¢È»ºóÔÚ¸Õ¸ÕÉú³ÉµÄ¼Ç¼¸ñʽÉϼüÈëDF£¬²¢ÇÒÔÚͬһ±à¼­ÐоÓÖÐλÖüüÈë¡°hhhhhhhhhh¡±£¬¶¨ÒåÒ»¸ö³£Êý×ֶΣº

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

DF                            hhhhhhhhhh                                       

FLD1       <....>     <....>              <....>             <......>          

 RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL          

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999       

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

3¡¢¼üÈëÖ´ÐУ¬Éú³ÉеļǼ¸ñʽÃûRCD004ÒÔ¼°±íÍ·×ֶΣº

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                                       

 RCD004                       hhhhhhhhhh                                       

FLD1       <....>     <....>              <....>             <......>          

 RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL          

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                               

                                                                                

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

DF created 1 fields in record format RCD004.                                   

 

 

4¡¢Ê¹ÓÃF18È»ºóÔÙF10£¬¸úÉÏÃæͬÑù·½·¨¸Ä±äRCD004¼Ç¼¸ñʽÃûΪ£ºHEADER

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                                       

 HEADER                       hhhhhhhhhh                                        

FLD1       <....>     <....>              <....>             <......>          

 RCD002    DPCODE     EYCODE              EYNAME             SUBTOTAL          

FLD1       <...>      <.....>          <..........>       <.............>       

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                  

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

5¡¢½«¹â±êÒÆÖÁ³£Êý×Ö¶ÎhhhhhhhhhhÉÏ£¬¼üÈëF23½øÐб༭×ֶΣº

 

                            Work with Field Keywords                           

                                                                               

 Field  . . . . . . . . :   FLD001        Record format  . . . . :   HEADER    

                                                                                

 Type options, press Enter.                                                    

   2=Specify   4=Remove                                                        

                                                                                

 Opt     Keyword            Opt     Keyword            Opt     Keyword         

         ALIAS                      DFT                        IGCCHRRTT       

         BARCODE                    DLTEDT                     INDTXT          

         BLKFOLD                    EDTCDE                     MSGCON          

         CDEFNT                     EDTWRD                     PAGNBR          

         CHRID                      FLTFIXDEC                  PRTQLTY          

         CHRSIZ                     FLTPCN                     REFFLD          

         COLOR                      FNTCHRSET                  SKIPA           

         CPI                        FONT                       SKIPB           

         CVTDTA                     HIGHLIGHT                  SPACEA          

         DATE                       IGCALTTYP                  SPACEB          

         DATFMT                     IGCANKCNV                  TEXT            

         DATSEP                     IGCCDEFNT                  TIME            

                                                                        More...

 F3=Exit   F5=Refresh   F9=Input keyword parameters   F10=Specify information  

 F12=Cancel   F16=Remove all keywords                                          

                                                                               

 

 

6¡¢ÔÚDFTÑ¡ÏîÉϼüÈë2±à¼­³£ÊýÏִÐУ¬¼üÈë' Ö°¹¤ÐÅÏ¢ ' £¬´Ë´¦¶¨ÒåµÄÊDZ¾±¨±íµÄ±íÍ·£¬È»ºóÔÙ¼üÈë2´ÎÖ´ÐУº

 

                                Specify Default                                

                                                                               

 Keyword  . . . . . . . :   DFT                                                 

 Field  . . . . . . . . :   FLD001                                             

 Record format  . . . . :   HEADER                                             

                                                                                

 Type text of constant, press Enter.                                           

                                                                               

   ' Ö°¹¤ÐÅÏ¢ '                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                                

                                                                               

                                                                                

                                                                               

 F3=Exit   F5=Refresh   F12=Cancel   F16=Remove keyword                        

                                                                                          

 

 

7¡¢¼üÈëF10£¬È»ºóÔÙ¼üÈëF11½«Æäת»»Îª³£ÊýÏ

 

                           Specify Field Information                           

                                                                               

 Edited length . . . . . . . . . . . . :   10                                   

 Record format . . . . . . . . . . . . :   HEADER                              

 Number of keywords  . . . . . . . . . :   1                                   

 Number of indicators  . . . . . . . . :   0                                    

 Constant keyword  . . . . . . . . . . :   ' Ö°¹¤ÐÅÏ¢ '                        

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

 Type choices, press Enter.                                                    

                                                                               

   Option indicators . . . . . . . . . .                 01-99, N01-N99        

     More indicators . . . . . . . . . .     N           Y=Yes, N=No           

   Starting line . . . . . . . . . . . .                 1-255                 

   Starting position . . . . . . . . . .    23           1-255, +nn            

                                                                               

 F3=Exit   F5=Refresh   F11=Convert to named field   F12=Cancel                

                                                                                

                                                                               

 

 

8¡¢°´2´ÎÖ´ÐмüÍ˳ö±à¼­¡£

   ÓÃWork with Field KeywordsͬÑùµÄ¶¨Òå·½·¨£¬¿ÉÒÔ¶Ô±íÍ·×ÖÌå½øÐб༭£¬ÏÂͼÏÔʾÁ˶¨Òå×ÖÐÎCHRSIZΪ2¡Á2ʱµÄ±à¼­×´Ì¬¡£

×¢Ò⣺ֻÓе±´òÓ¡ÒÔºó²ÅÄÜ¿´¼ûʵ¼Ê×ÖÐΣ¬¶øÔÚ5250ÖÕ¶ËÉÏÏÔʾ½ö½öÊÇÆÕͨ³ß´ç×ÖÌå¡£

 

                             Specify Character Size                            

                                                                               

 Keyword  . . . . . . . . . . . . . . :   CHRSIZ                               

 Field  . . . . . . . . . . . . . . . :   FLD005                               

 Record format  . . . . . . . . . . . :   HEADER                               

                                                                               

 Type choices, press Enter.                                                    

                                                                               

   Expand character size:                                                      

                                                                                

    Width multiplier  . . . . . . . . .   2            1.0-20.0                

                                                                               

    Height multiplier . . . . . . . . .   2            1.0-20.0                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                               

 F3=Exit   F5=Refresh   F12=Cancel   F16=Remove keyword                        

                                                                               

 

 

9¡¢Í¬Ê±¶¨Òå±íÍ·ÌøÒ³¹Ø¼ü×ÖSKIPB£º

 

                            Work with Field Keywords                            

                                                                               

 Field  . . . . . . . . :   FLD005        Record format  . . . . :   HEADER    

                                                                               

 Type options, press Enter.                                                    

   2=Specify   4=Remove                                                        

                                                                               

 Opt     Keyword            Opt     Keyword            Opt     Keyword         

         ALIAS                      DFT                        IGCCHRRTT       

         BARCODE                    DLTEDT                     INDTXT          

         BLKFOLD                    EDTCDE                     MSGCON          

         CDEFNT                     EDTWRD                     PAGNBR          

         CHRID                      FLTFIXDEC                  PRTQLTY         

      >  CHRSIZ                     FLTPCN                     REFFLD          

         COLOR                      FNTCHRSET                  SKIPA           

         CPI                        FONT                2      SKIPB           

         CVTDTA                     HIGHLIGHT                  SPACEA          

         DATE                       IGCALTTYP                  SPACEB          

         DATFMT                     IGCANKCNV                  TEXT            

         DATSEP                     IGCCDEFNT                  TIME             

                                                                        More...

 F3=Exit   F5=Refresh   F9=Input keyword parameters   F10=Specify information  

 F12=Cancel   F16=Remove all keywords                                          

                                                                                

 

 

10¡¢ÎªÊ²Ã´Òª¶¨ÒåSKIPBÄØ£¿¶ÔÓÚÁ´Ê½´òÓ¡Ö½À´Ëµ£¬Ã¿´Î»»Ò³Ê±£¬Ó¦¸ÃÌø¹ýÖ½·ìÔÙ´òÓ¡±íÍ·£¬SKIPB¾ÍÊÇÍê³ÉÕâ¸ö¹¦Äܵġ£

    ¼üÈëÖ´ÐУ¬Íê³É¶Ô±íÍ·µÄ¹Ø¼ü×ÖµÄÉè¼Æ¡£

    ÔÚ±íÍ·Éè¼ÆÎÒÃǹ²¶¨ÒåÁËCHRSIZ¡¢SKIPB¡¢DFTÕâ3¸ö¹Ø¼ü×Ö¡£

 

                              Specify Skip Before                              

                                                                                

 Keyword  . . . . . . . . . . . . . . :   SKIPB                                

 Field  . . . . . . . . . . . . . . . :   FLD005                               

 Record format  . . . . . . . . . . . :   HEADER                                

 Number of indicators . . . . . . . . :   0                                    

                                                                               

 Type choices, press Enter.                                                    

                                                                               

   Line number to skip to before                                               

     printing . . . . . . . . . . . . .     1           1-255                  

                                                                                

   Option indicators  . . . . . . . . .                 01-99, N01-N99         

                                                                               

     More indicators  . . . . . . . . .     N           Y=Yes, N=No            

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

 F3=Exit   F5=Refresh   F12=Cancel   F16=Remove keyword                        

                                                                                

 

 

11¡¢¼üÈëÖ´Ðзµ»ØÉè¼Æ±¨¸æ£º

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                                       

 HEADER                        Ö°¹¤ÐÅÏ¢                                        

FLD1       <.......>     <.......>              <.......>             <.....>  

 RCD002     ¹ÍÔ±Âë        ²¿ÃÅÂë                 ¹ÍÔ±Ãû                С¼Æ    

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

12¡¢¶¨Òå±íÍ·Ò³ºÅ£¬Ê¹µÃÿ´òÓ¡1Ò³£¬±íÍ·Ò³ºÅ×Ô¶¯¼Ó1¡£½«¹â±êÒƶ¯ÖÁ±íÍ·µÄÓÒÉϲ࣬¼üÈëF11¶¨ÒåÒ»¸öÒ³ºÅ×ֶΣº

 

                            Define Field Information                           

                                                                               

 Edited length . . . . . . . . . . . . :   1                                   

 Record format . . . . . . . . . . . . :   HEADER                               

 Number of keywords  . . . . . . . . . :   0                                   

 Number of indicators  . . . . . . . . :   0                                   

                                                                                

 Type choices, press Enter.                                                    

                                                                               

   Field . . . . . . . . . . . . . . . .   FLD009        Name                  

   Option indicators . . . . . . . . . .                 01-99, N01-N99        

     More indicators . . . . . . . . . .     N           Y=Yes, N=No           

   Starting line . . . . . . . . . . . .                 1-255                 

   Starting position . . . . . . . . . .   +31           1-255, +nn            

   Length of data  . . . . . . . . . . .     1           1-378, +nn, -nn       

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                        More...

 F3=Exit   F5=Refresh   F10=Work with keywords   F11=Convert to constant field 

 F12=Cancel                                                                     

                                                                               

 

 

13¡¢ÔÙ¼üÈëF10£¬Ôڹؼü×ÖPAGNBRÑ¡Ïî¼üÈë2£º

 

                            Work with Field Keywords                           

                                                                               

 Field  . . . . . . . . :   FLD009        Record format  . . . . :   HEADER    

                                                                               

 Type options, press Enter.                                                    

   2=Specify   4=Remove                                                        

                                                                               

 Opt     Keyword            Opt     Keyword            Opt     Keyword         

         ALIAS                      DFT                        IGCCHRRTT       

         BARCODE                    DLTEDT                     INDTXT          

         BLKFOLD                    EDTCDE                     MSGCON          

         CDEFNT                     EDTWRD              2      PAGNBR          

         CHRID                      FLTFIXDEC                  PRTQLTY         

         CHRSIZ                     FLTPCN                     REFFLD          

         COLOR                      FNTCHRSET                  SKIPA           

         CPI                        FONT                       SKIPB           

         CVTDTA                     HIGHLIGHT                  SPACEA          

         DATE                       IGCALTTYP                  SPACEB          

         DATFMT                     IGCANKCNV                  TEXT            

         DATSEP                     IGCCDEFNT                  TIME            

                                                                        More...

 F3=Exit   F5=Refresh   F9=Input keyword parameters   F12=Cancel                

 F16=Remove all keywords                                                       

 Field FLD009 created in record format HEADER.                                 

 

 

14¡¢¼üÈë4´ÎÖ´ÐУ¬¶¨ÒåÒ³ºÅ¹Ø¼ü×ÖPAGNBR£¬ÔÚ¶¨Òå¹ý³ÌÖа´Ö´Ðв»±ØÀí²ÇÔÚÌáʾÐгöÏÖµÄERRORÐÅÏ¢£»·µ»Øµ½Specify Field Information½çÃ棺

 

                           Specify Field Information                           

                                                                               

 Edited length . . . . . . . . . . . . :   1                                   

 Record format . . . . . . . . . . . . :   HEADER                              

 Number of keywords  . . . . . . . . . :   1                                   

 Number of indicators  . . . . . . . . :   0                                   

                                                                                

 Type choices, press Enter.                                                    

                                                                               

   Field . . . . . . . . . . . . . . . .   FLD009        Name                  

   Option indicators . . . . . . . . . .                 01-99, N01-N99        

     More indicators . . . . . . . . . .     N           Y=Yes, N=No           

   Starting line . . . . . . . . . . . .                 1-255                 

   Starting position . . . . . . . . . .   +31           1-255, +nn            

   Length of data  . . . . . . . . . . .     1           1-378, +nn, -nn       

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                        More...

 F3=Exit   F5=Refresh   F10=Work with keywords   F11=Convert to constant field 

 F12=Cancel                                                                    

                                                                               

 

 

15¡¢¼üÈëF11½«Æäת»»Îª³£Êý×ֶΡ£¼üÈëÖ´ÐУ¬¿É¼ûPAGNBR×ֶζ¨ÒåÔÚ±íÍ·ÓҲࣺ

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                               <..>    

 HEADER                        Ö°¹¤ÐÅÏ¢                                9999    

FLD1       <.......>     <.......>              <.......>             <.....>  

 RCD002     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ        

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

16¡¢ÔÚ×ó²àÃüÁîÐÐÉÏHEADER¼Ç¼¸ñʽÉϼüÈëDF(Define Field)£¬Í¬Ê±ÔÚPAGNBR×Ö¶Î×ó²àÏàӦλÖüüÈëPage:£¬Ö´ÐкóÔÚÒ³ºÅ×Ö¶Î×ó²àÉú³É³£Êý×Ö¶ÎPage£º

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                               <..>    

 DF                            Ö°¹¤ÐÅÏ¢                           Page:9999    

FLD1       <.......>     <.......>              <.......>             <.....>  

 RCD002     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ        

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                  

 F22=Alternative keys         F24=More keys                                    

                                                                                   

17¡¢¼üÈëÖ´ÐУ¬ÏÖÔÚ±¨±íÉè¼ÆÍê³ÉÈçÏ£º

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>    

 HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999    

FLD1       <.......>     <.......>              <.......>             <.....>  

 RCD002     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ        

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

2.5 ºÏ²¢¼Ç¼¸ñʽ£º

ÎÒÃǼûµ½¼Ç¼¸ñʽһ¹²ÓÐÈý¸ö£ºHEADER¡¢DETAIL¡¢RCD002£¬ÐèÒª½«HEADERÓëRCD002ºÏ²¢ÔÚÒ»Æð¡£

1¡¢ÔÚ×ó²àÃüÁîÐÐRCD002ÉϼüÈëCLC(Change Line Format and Combine):

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>    

 HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999    

FLD1       <.......>     <.......>              <.......>             <.....>  

 CLC        ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ        

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

2¡¢¼üÈëÖ´ÐУ¬¿É¼ûRCD002±»ºÏ²¢µ½HEADER¼Ç¼¸ñʽÖУ¬ÔÚÆäÐÐ×î×ó²àÏÔʾ+±íʾ´ËÐÐΪHEADERµÄ¼Ç¼¸ñʽÐøÐУº

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>    

 HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999    

FLD1       <.......>     <.......>              <.......>             <.....>  

00002 +     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ        

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00004 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

 

3¡¢½øÒ»²½Ê¹ÓÃDR£¨¶¨ÒåÒ»¸ö¼Ç¼¸ñʽ£©¡¢DF£¨¶¨ÒåÐéÏß×ֶΣ©¡¢CLC£¨ºÏ²¢¼Ç¼¸ñʽÖÁ±íÍ·£©Éú³É°´×ֶοí¶È·Ö¸îÐéÏߣ¬¼´Ã¿Ò»¸ö×Ö¶ÎÓë±êÌâÖ®¼äÉú³É¡®------¡¯ÐÞÊα¨±í¡£

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>    

 HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999    

FLD1       <.......>     <.......>              <.......>             <.....>  

00002 +     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ        

FLD1      <........>   <.........>     <...........>      <.............>      

00003 +   ----------   -----------     -------------      ---------------      

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00009 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

        --------------------------- End of Report -----------------------------

                                                                                

                                                                               

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

2.6 ½¨Á¢±äÁ¿ÐÍ×ֶΣº

1¡¢Ê×ÏÈʹÓÃDR¡¢DFÒÔ¼°ÖØÃüÃû¹¦Äܶ¨ÒåÒ»¸ö¼Ç¼¸ñʽTOTALN¡£½«¹â±êÒÆÖÁС¼Æ×Ö¶ÎSUBTOTALÏ·½£¬¼üÈëF11¶¨ÒåÒ»¸ö»ã×Ü×ֶΡ£

   ×Ö¶ÎÃûÎÒÃǶ¨ÒåΪTOTALX£¬×ֶ㤶È17£¬Êý¾ÝÀàÐÍΪ2¡£

                            Define Field Information                           

                                                                               

 Edited length . . . . . . . . . . . . :   1                                   

 Record format . . . . . . . . . . . . :   TOTALN                              

 Number of keywords  . . . . . . . . . :   0                                   

 Number of indicators  . . . . . . . . :   0                                   

                                                                               

 Type choices, press Enter.                                                    

                                                                                

   Field . . . . . . . . . . . . . . . .   TOTALX        Name                  

   Option indicators . . . . . . . . . .                 01-99, N01-N99        

     More indicators . . . . . . . . . .     N           Y=Yes, N=No           

   Starting line . . . . . . . . . . . .                 1-255                 

   Starting position . . . . . . . . . .    51           1-255, +nn            

   Length of data  . . . . . . . . . . .    17           1-378, +nn, -nn        

                                                                               

                                                                               

                                                                               

                                                                                

                                                                               

                                                                        More...

 F3=Exit   F5=Refresh   F10=Work with keywords   F11=Convert to constant field 

 F12=Cancel                                                                    

                                                                               

 

2¡¢PageDownÏ·­Ò»Ò³£¬¶¨ÒåСÊýµãλÖÃΪ2룬²ÎÕÕ×Ö¶ÎY£¬Ê¹ÓòÎÕÕֵΪN£º

 

                            Define Field Information                           

                                                                               

 Edited length . . . . . . . . . . . . :   1                                   

 Record format . . . . . . . . . . . . :   TOTALN                              

 Number of keywords  . . . . . . . . . :   0                                   

 Number of indicators  . . . . . . . . :   0                                   

                                                                                

 Type choices, press Enter.                                                    

                                                                               

   Data type . . . . . . . . . . . . . .   2             1=Character           

                                                         2=Zoned               

                                                         3=Floating point      

                                                         4=Open                

                                                         5=Graphic             

                                                         6=Date                

                                                         7=Time                

                                                         8=Time stamp          

   Decimal positions . . . . . . . . . .   2             0-31, +n, -n          

   Reference a field . . . . . . . . . .   Y             Y=Yes, N=No           

     Use referenced values . . . . . . .     N           Y=Yes, N=No           

                                                                         Bottom

 F3=Exit   F5=Refresh   F10=Work with keywords   F11=Convert to constant field 

 F12=Cancel                                                                    

                                                                               

 

3¡¢°´2´ÎF10½øÈëWork with Field Keywords£¬ÔÚREFFLDʹÓÃÑ¡Ïî2¶¨Òå²ÎÕÕÊý¾Ý¿â×ֶΣº

 

                            Work with Field Keywords                           

                                                                               

 Field  . . . . . . . . :   TOTALX        Record format  . . . . :   TOTALN    

                                                                                

 Type options, press Enter.                                                    

   2=Specify   4=Remove                                                        

                                                                                

 Opt     Keyword            Opt     Keyword            Opt     Keyword         

         ALIAS                      DFT                        IGCCHRRTT       

         BARCODE                    DLTEDT                     INDTXT          

         BLKFOLD                    EDTCDE                     MSGCON          

         CDEFNT                     EDTWRD                     PAGNBR          

         CHRID                      FLTFIXDEC                  PRTQLTY         

         CHRSIZ                     FLTPCN              2      REFFLD          

         COLOR                      FNTCHRSET                  SKIPA           

         CPI                        FONT                       SKIPB           

         CVTDTA                     HIGHLIGHT                  SPACEA          

         DATE                       IGCALTTYP                  SPACEB          

         DATFMT                     IGCANKCNV                  TEXT            

         DATSEP                     IGCCDEFNT                  TIME            

                                                                        More...

 F3=Exit   F5=Refresh   F9=Input keyword parameters   F12=Cancel               

 F16=Remove all keywords                                                        

 Field TOTALX created in record format TOTALN.                                 

 

4¡¢¼üÈëÖ´ÐУ¬ÔÚFieldʹÓÃF4£¬Ñ¡Ôñ¶ÔÓ¦×Ö¶ÎSUBTOTAL£¬È»ºóÔÙ¼üÈë3´ÎÖ´Ðзµ»ØÉè¼Æ±¨¸æ£º

 

                            Specify Referenced Field                           

                                                                               

 Keyword . . . . . . . . . . . . . . :   REFFLD                                

 Field . . . . . . . . . . . . . . . :   TOTALX                                

 Record format . . . . . . . . . . . :   TOTALN                                

                                                                                

 Type choices, press Enter.                                                    

                                                                               

   Field . . . . . . . . . . . . . . .   SUBTOTAL        Name                   

                                                         F4 for list           

     Record format . . . . . . . . . .     EMPLOY        Name                  

                                                         F4 for list           

                                                                                

   File  . . . . . . . . . . . . . . .   EMPLOYEES       Name                  

                                                         *SRC                  

                                                         F4 for list           

     Library . . . . . . . . . . . . .     EDISYSTEM     Name                  

                                                         *CURLIB               

                                                         *LIBL                 

                                                                               

                                                                               

                                                                                

 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F16=Remove keyword            

                                                                               

 

5¡¢½«¹â±ê·ÅÖÃÔÚ¸Õ¸ÕÉú³ÉµÄ×Ö¶ÎTOTALXʹÓÃF23±à¼­×Ö¶ÎÏÔʾ¸ñʽ£º

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>    

 HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999    

FLD1       <.......>     <.......>              <.......>             <.....>  

00002 +     ¹ÍÔ±Âë        ²¿ÃÅÂë             ¹ÍÔ±Ãû                С¼Æ        

FLD1      <........>   <.........>     <...........>      <.............>      

00003 +   ----------   -----------     -------------      ---------------      

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00009 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

FLD1                                                      <...............>    

 TOTALN                                                   99999999999999999    

        --------------------------- End of Report -----------------------------

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                 

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

6¡¢¼üÈë2¶¨Òå±à¼­ÂëEDTCDE£¬¼üÈëÖ´ÐУ¬½«±à¼­Â붨ÒåΪO£¬È»ºó¼üÈë2´ÎÖ´ÐУº

 

                               Specify Edit Code                               

                                                                               

 Keyword  . . . . . . . . . . . . . . :   EDTCDE                               

 Field  . . . . . . . . . . . . . . . :   TOTALX                               

 Record format  . . . . . . . . . . . :   TOTALN                               

                                                                               

 Type choices, press Enter.                                                    

                                                                               

   Edit code  . . . . . . . . . . . . .   O            1-9, A-D, J-Q, W-Z      

                                                                                

   Fill character . . . . . . . . . . .                *                       

                                                       Currency symbol         

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                                

                                                                               

                                                                               

                                                                               

 F3=Exit   F5=Refresh   F12=Cancel   F16=Remove keyword                        

                                                                               

 

7¡¢Ê¹ÓÃInsert²åÈë/Deleteɾ³ý¼üÏò×ó/ÓÒµ÷ÕûTOTALX×Ö¶ÎλÖá£

   ×îºóÍêÕûµÄ±¨±íÉè¼ÆÍê³ÉÈçÏ£º

 

 Columns . . . :    1  71        Design Report                EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ------------------------- Start of Page 001 ---------------------------

FLD1                          <........>                          <...><..>    

 HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999    

FLD1       <.......>   <.......>        <.......>            <.....>           

00002 +     ¹ÍÔ±Âë      ²¿ÃÅÂë           ¹ÍÔ±Ãû               С¼Æ             

FLD1      <........>   <.........>     <...........>      <.............>       

00003 +   ----------   -----------     -------------      ---------------      

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00009 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

FLD1                                                   <.....................> 

 TOTALN                                               9 999,999,999,999,999.99 

        --------------------------- End of Report -----------------------------

                                                                               

 F3=Exit   F11=Define field   F16=Delete field                                  

 F22=Alternative keys         F24=More keys                                    

                                                                               

 

2.7 ±£´æ±¨±íÉè¼ÆÃûÉú³É´òÓ¡ÎļþPRTF£º

 

1¡¢°´F3Í˳ö£¬Ñ¡ÔñÉú³É´òÓ¡ÎļþCreate printer file£¬¸Ä±äĬÈÏÖµChange defaults£¬¿ÉÒÔÑ¡ÔñÉú³ÉÔ­Ðͱ¨¸æPrototype report ¡£

 

                                    Exit RLU                                   

                                                                               

 Type choices, press Enter.                                                     

                                                                               

   Option  . . . . . . . . . . . . . .   1              1=Save and exit        

                                                        2=Exit without saving  

                                                        3=Resume               

     Member  . . . . . . . . . . . . .     LPRTF01      Name                   

     File  . . . . . . . . . . . . . .     QDDSSRC      Name                    

     Library . . . . . . . . . . . . .     EDISYSTEM    Name                   

     Text  . . . . . . . . . . . . . .     Demo for Design Report              

                                                                               

   Create printer file . . . . . . . .   y              Y=Yes, N=No            

     Change defaults . . . . . . . . .     y            Y=Yes, N=No            

   Prototype report  . . . . . . . . .   y              Y=Yes, N=No            

     Change defaults . . . . . . . . .     N            Y=Yes, N=No            

   Submit to batch . . . . . . . . . .   N              Y=Yes, N=No            

     Job description . . . . . . . . .     *USRPRF      Name, *USRPRF, *RLU    

     Library . . . . . . . . . . . . .                  Name, *LIBL, *CURLIB   

                                                                               

                                                                               

                                                                                

 F5=Refresh   F12=Cancel                                                       

                                                                               

 

 

2¡¢¼üÈëÖ´ÐУ¬×ªµ½Éú³É´òÓ¡Îļþ½çÃæCreate Printer File (CRTPRTF)£¬ÔÙʹÓÃF10Ð޸ĸ½¼ÓÖµ£¬ºáÏòѹËõ´òÓ¡×Ö·û£ºÔÚÉú³É´òÓ¡ÎļþÑ¡ÏÿӢ´ç10¸ö×Ö·û¸ÄΪ15¸ö×Ö·û£¬°´A3³ß´çµÄÖ½ÐÍÉè¼Æʱ£¬Ö½¿íΪ12Ó¢´ç£¬Ã¿ÐдòÓ¡198»òÕß204¸ö×Ö·û(Óë¾ßÌå´òÓ¡»úÓйØ)£¬15CPI£¨Ã¿Ó¢´ç×Ö·ûÊý£©¡Á 198 ¡Ö 12Ó¢´ç ¡£

 

                          Create Printer File (CRTPRTF)                        

                                                                                

 Type choices, press Enter.                                                    

                                                                               

                                                                                

                            Additional Parameters                              

                                                                               

 Page size:                                                                    

   Length--lines per page . . . .   66            .001-255.000                 

   Width--positions per line  . . > 198           .001-378.000                 

   Measurement method . . . . . .   *ROWCOL       *ROWCOL, *UOM                

 Lines per inch . . . . . . . . .   6             6, 3, 4, 7.5, 7,5, 8, 9, 12  

 Characters per inch  . . . . . .   15            10, 5, 12, 13.3, 13,3, 15... 

 Front margin:                                                                 

   Offset down  . . . . . . . . .   *DEVD         0-57.790, *DEVD              

   Offset across  . . . . . . . .                 0-57.790                     

 Back margin:                                                                  

   Offset down  . . . . . . . . .   *FRONTMGN     0-57.790, *FRONTMGN, *DEVD   

   Offset across  . . . . . . . .                 0-57.790                     

 Overflow line number . . . . . .   60            1-255                        

                                                                        More...

 F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display   

 F24=More keys                                                                 

                                                                                

 

 

3¡¢ÏµÍ³ÌáʾÒѾ­³É¹¦Éú³ÉÁË´òÓ¡ÎļþLPRTF01¡£

   ÎÒÃÇ¿ÉÒÔʹÓÃPDMÑ¡Ïî19=Change using RLU ¶ÔÆäÔ´Îļþ½øÐÐÐ޸ġ£

   µ±È»£¬ÎÒÃÇÒ²¿ÉÒÔͨ¹ý2Ö±½Ó¶ÔÔ´Âë½øÐÐÐ޸ģ»³ý·ÇÓÐÌرðÐèÒª£¬¶ÔÓÚRLU£¬ÎÒÃDz»Ìᳫֱ½Ó¶ÔÔ´Âë½øÐÐÐ޸ġ£

 

                           Work with Members Using PDM                 S65F6F8B

                                                                                

 File  . . . . . .   QDDSSRC                                                   

   Library . . . .     EDISYSTEM            Position to  . . . . .             

                                                                                

 Type options, press Enter.                                                    

   16=Run procedure    17=Change using SDA       19=Change using RLU           

   25=Find string      54=Compare                55=Merge ...                   

                                                                               

 Opt  Member      Type        Text                                             

 19   LPRTF01     PRTF        Demo for Design Report                           

      MASCDP      PF          SYSTEM CODE DETAIL                               

      MCITAP      PF          <V1.3 >ITEM MASTER                               

      MCITCL5     LF          <XLLC>                                           

      MCITCP      PF          PROCESS SEQUENCE ITEM MASTER                     

      MENUPGM     PF          EDI System Pulldown Menu PF                      

      MJR84TJ     PRTF        ITEM RECEIPT PAGESIZE(51 132 *ROWCOL) OVRFLW(51)N

      REFILE      PF          Data Dictionary Reference File (exercise)        

                                                                        More...

 Parameters or command                                                         

 ===>                                                                           

 F3=Exit          F4=Prompt             F5=Refresh            F6=Create        

 F9=Retrieve      F10=Command entry     F23=More options      F24=More keys    

                                                                                

 

 

4¡¢ÎÒÃÇ¿ÉÒÔͨ¹ýSPLF¼ì²é±àÒë³öÏÖµÄÎÊÌâºÍ±íÑùÊä³ö£¬¶ÔÓÚ±àÒë´íÎó£¬ÎÒÃÇ¿ÉÒÔͨ¹ýSPLF±àÒëÁбí¼ì²é´íÎó²¢ÐÞÕý¡£

   ×îÖÕÉú³ÉµÄ±¨±íÑù±¾ÈçÏ£º

 

  ÁР . . . :       1  71         Éè¼Æ±¨¸æ                    EDISYSTEM/QDDSSRC

 RLU==>                                                                 LPRTF01

 BASE    ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 

        ---------------------------  ¿ªÊ¼Ò³Âë  001 ----------------------------

FLD1                          <........>                          <...><..>    

 HEADER                        Ö°¹¤ÐÅÏ¢                           Page:9999    

FLD1       <.......>   <......>        <......>            <....>              

00002 +     ¹ÍÔ±Âë      ²¿ÃÅÂë          ¹ÍÔ±Ãû              С¼Æ               

FLD1      <........>   <.........>     <...........>      <.............>      

00003 +   ----------   -----------     -------------      ---------------      

FLD1       <...>      <.....>          <..........>       <.............>      

 DETAIL    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00005 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00006 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00007 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00008 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

00009 S    XXXXX      XXXXXXX          XXXXXXXXXXXX       999999999999999      

FLD1                                                   <.....................> 

 TOTALN                                                 999,999,999,999,999.99 

        -----------------------------  ±¨¸æ½áÊø  ------------------------------

                                                                               

 F3= Í˳ö    F11= ¶¨Òå×ֶΠ   F16= ɾ³ý×ֶΠ                                   

 F22= ±¸Óüü                  F24= ÆäÓà¼ü                                       

                                                                               

 

 

 

¸½£ºLPRTF01Õâ¸öPRTFµÄÔ´Â룺

 

     A*%%TS  DD  20041214  190605  LIU         REL-V5.1    iSeries WDT

     A*%%FI+1066660100000000000000000000000000000000000000000000000000

     A*%%FI           0000000000000000000000000000000000000000000000000

     A*%%PR 1066198I

     A*%%FD Demo for Design Report

     A*%%EC

     A          R HEADER

     A*%%TS  DD  20041214  190447  LIU         REL-V5.1    iSeries WDT

     A*%%RI 00000

     A            FLD005        10A  O    23CHRSIZ(2.0 2.0)

     A                                      SKIPB(1)

     A            FLD010         5A  O   +26

     A                                    +0PAGNBR

     A            FLD008         9A  O     4SPACEB(1)

     A                                    +3'²¿ÃÅÂë'

     A                                    +8'¹ÍÔ±Ãû'

     A                                   +12'С¼Æ'

     A            FLD011        10A  O     3SPACEB(1)

     A            FLD012        11A  O    +3

     A            FLD013        13A  O    +5

     A            FLD014        15A  O    +6

     A*%%GP REPORT1    01

     A*%%SS

     A*%%SN FLD005     Ö°¹¤ÐÅÏ¢

     A*%%SN FLD010     Page:

     A*%%SN FLD008     ¹ÍÔ±Âë

     A*%%SN FLD011     ----------

     A*%%SN FLD012     -----------

     A*%%SN FLD013     -------------

     A*%%SN FLD014     ---------------

     A          R DETAIL

     A*%%TS  DD  20041214  190447  LIU         REL-V5.1    iSeries WDT

     A*%%RI 00005

     A                                      SPACEB(1)

     A            DPCODE    R        O     4REFFLD(EMPLOY/DPCODE +

     A                                      EDISYSTEM/EMPLOYEES)

     A            EYCODE    R        O    +6REFFLD(EMPLOY/EYCODE +

     A                                      EDISYSTEM/EMPLOYEES)

     A            EYNAME    R        O   +10REFFLD(EMPLOY/EYNAME +

     A                                      EDISYSTEM/EMPLOYEES)

     A            SUBTOTAL  R        O    +7REFFLD(EMPLOY/SUBTOTAL +

     A                                      EDISYSTEM/EMPLOYEES)

     A*%%GP REPORT1    02

     A          R TOTALN

     A*%%TS  DD  20041214  190447  LIU         REL-V5.1    iSeries WDT

     A*%%RI 00000

     A                                      SPACEB(1)

     A            TOTALX    R   17S 2O    48REFFLD(EMPLOY/SUBTOTAL +

     A                                      EDISYSTEM/EMPLOYEES)

     A                                      EDTCDE(O)

     A*%%GP REPORT1    03

     A*%%SS

     A*%%SN TOTALX     99999999999999999

     A*%%CS+99999CRTPRTF

     A*%%CS+    FILE(QTEMP/QPRDRPT   )

     A*%%CS+    DEVTYPE(*SCS)

     A*%%CS     PAGESIZE(*N       198      *N     )

 

 

 

 

 

 

 

 

 

 

 

 

7.9         ÈçºÎ¼à¿ØÒÔ¼°¿ØÖÆODBCµÄÊý¾Ý´«Êä?

7.9.1   ¿ÉÒÔͨ¹ýExit ProgramÀ´¼à¿Ø

Exit point: QIBM_QTF_TRANSFER£¨³ÌÐò1£©  QIBM_QZDA_NDB1(³ÌÐò2)

³ÌÐò1.

PGM        PARM(&RC &STRU)                            

  DCL      VAR(&RC) TYPE(*CHAR) LEN(1)                

   DCL      VAR(&STRU) TYPE(*CHAR) LEN(80)             

DCL  VAR(&USER)  TYPE(*CHAR) LEN(10) /* user profile*/

DCL  VAR(&APP1)  TYPE(*CHAR) LEN(10) /* function    */

DCL  VAR(&APP2)  TYPE(*CHAR) LEN(10) /* sub function*/

DCL  VAR(&TFOBJ) TYPE(*CHAR) LEN(10) /* file  name  */

DCL  VAR(&TFLIB) TYPE(*CHAR) LEN(10) /*library      */

DCL  VAR(&TFMBR) TYPE(*CHAR) LEN(10) /* member      */

DCL  VAR(&TFFMT) TYPE(*CHAR) LEN(10) /* format      */

DCL  VAR(&TYPE)  TYPE(*CHAR) LEN(2)  /* journaltype */

MONMSG     MSGID(CPF0000) EXEC(GOTO CMDLBL(EXIT))      

CHGVAR     &RC    VALUE('1') /* set return code to +  

         allow request unless rejected by program */  

CHGVAR     &USER  VALUE(%SST(&STRU 1 10))  /*user */  

CHGVAR     &APP2  VALUE(%SST(&STRU 21 10)) /*funct*/  

CHGVAR     &TFOBJ VALUE(%SST(&STRU 31 10)) /*file */  

CHGVAR     &TFLIB VALUE(%SST(&STRU 41 10)) /*libr */  

CHGVAR     &TFMBR VALUE(%SST(&STRU 51 10)) /*mbr  */  

CHGVAR     &TFFMT VALUE(%SST(&STRU 61 10)) /*fmt  */  

LOG:  CHGVAR     VAR(&TYPE) VALUE('X' *CAT &RC)       

  SNDJRNE  JRN(QAUDJRN) TYPE(&TYPE) ENTDTA(&STRU)     

EXIT:ENDPGM    

 

 

³ÌÐò2¡¢

PGM        PARM(&RC &REQUEST)                                  

  DCL        VAR(&RC) TYPE(*CHAR) LEN(1) VALUE('1')            

  DCL        VAR(&REQUEST) TYPE(*CHAR) LEN(700)                 

  DCL        VAR(&TYPE) TYPE(*CHAR) LEN(2)                     

  DCL &X1800 *CHAR 4 VALUE(X'00001800') /*create database file*/

  DCL &X1801 *CHAR 4 VALUE(X'00001801') /*create source   file*/

  DCL &X1802 *CHAR 4 VALUE(X'00001802') /*add    member       */

  DCL &X1803 *CHAR 4 VALUE(X'00001803') /*clear  member       */

  DCL &X1804 *CHAR 4 VALUE(X'00001804') /*delete member       */

  DCL &X1805 *CHAR 4 VALUE(X'00001805') /*file override       */

  DCL &X1806 *CHAR 4 VALUE(X'00001806') /*delete file override*/

  DCL &X1807 *CHAR 4 VALUE(X'00001807') /*create save file    */

  DCL &X1808 *CHAR 4 VALUE(X'00001808') /*clear  save file    */

  DCL &X1809 *CHAR 4 VALUE(X'00001809') /*delete file         */

  /* OPTIMIZED DATABASE SERVER DECLARES */                     

 DCL &DBFMT *CHAR  8  /* format name            */             

   DCL &DBFID *CHAR  4  /* function identifier    */           

   /* FOLLOWING PARAMETERS ADDITIONAL FOR FORMAT ZDAD0100 */   

   DCL &DBFILE *CHAR 128  /* file name              */         

   DCL &DBLIB  *CHAR  10  /* library name           */         

   DCL &DBMBR  *CHAR  10  /* member name            */         

   DCL &DBAUT  *CHAR  10  /* authority to file      */         

   DCL &DBBFIL *CHAR 128  /* based on file name     */          

DCL &DBBLIB *CHAR  10  /* based on library name  */  

 DCL &DBOFIL *CHAR  10  /* override file name     */  

 DCL &DBOLIB *CHAR  10  /* override library name  */  

 DCL &DBOMBR *CHAR  10  /* override member name   */   

 MONMSG     MSGID(CPF0000) EXEC(GOTO CMDLBL(EXIT))    

/* allow request unless rejected by program */        

  CHGVAR     VAR(&RC) VALUE('1')                      

  /* set variables from request description */        

  CHGVAR VAR(&DBFMT)  VALUE(%SST(&REQUEST 21 8))      

  CHGVAR VAR(&DBLIB)  VALUE(%SST(&REQUEST 161 10))    

    CHGVAR VAR(&DBMBR)  VALUE(%SST(&REQUEST 171 10))  

    CHGVAR VAR(&DBOFIL) VALUE(%SST(&REQUEST 329 10))  

    CHGVAR VAR(&DBOLIB) VALUE(%SST(&REQUEST 339 10))  

    CHGVAR VAR(&DBOMBR) VALUE(%SST(&REQUEST 349 10))  

  LOG:                                                

    CHGVAR   VAR(&TYPE) VALUE('Z' *CAT &RC)           

    SNDJRNE  JRN(QAUDJRN) TYPE(&TYPE) ENTDTA(&REQUEST)

  EXIT: ENDPGM        

 

¾ßÌåʵʩ·½·¨£º

1¡¢  ½«ÉÏÊö2¸ö³ÌÐò±àÒ룬Owner¸ÄΪQSECOFR£¬²¢Ê¹Óü̳ÐȨÏÞ

2¡¢  CHGNETA PCSACC(*REGFAC)

3¡¢  ʹÓÃADDEXITPGMÃüÁî°Ñ³ÌÐòÌí¼Óµ½ÏàÓ¦µÄExit point

4¡¢¿ÉÒÔ¸øÕâ2¸ö³ÌÐòÉèÖÃÒ»¸öȨÏÞÁÐ±í£¬·²ÊÇÔÚȨÏÞÁбíÄÚÓÐȨÏÞÖ´Ðд˳ÌÐòµÄÈ˲ſÉÒÔ

ÀûÓÃODBCÏ´«Êý¾Ý

5¡¢ÓÃDSPJRN JRN(QAUDJRN)

ENTTYP(Z1)  ¾Í¿ÉÒԲ鿴Ï´«µÄÊý¾ÝÇé¿öÁË

6¡¢¿ÉÒÔÓÃWRKREGINF²é¿´Exit programÉèÖÃÇé¿ö

×¢£ºÐèÒªÓÐQAUDJRN£¬ÈçûÓÐÐèÏÈWRKSYSVALÐÞ¸ÄϵͳֵQAUDCTL¡¢QAUDLVL£¬È»ºóCRTJRN´´½¨QAUDJRN

´´½¨QAUDJRN

    

      

 

 

 

 

7.9.2       ͨ¹ýµ¼º½Æ÷ÏÞÖÆODBCÒÔ¼°FTPÊý¾Ý´«Êä

    Ò²¿ÉÒÔͬʱʹÓÃExit programË«ÖØ¿ØÖÆODBC

 


ÏÞÖÆFTP

 

 

ÁíÍâ²¹³äÒ»µã£º

ÉÏ´Î˵µÄÐÔÄܼì²â²¿·Ö£¬Èç¹ûʹÓÃAccounting Journal±ØÐëµÄÐÞ¸ÄϵͳֵQACGLVL²ÅÄÜÈÃQACGJRNÉúЧ

 

7.9.3   OS/400Ö÷ÒªµÄϵͳ×÷ÒµµÄÓÃ;

ÄÚÈÝ

ÌáÒª µ±Óû§Ê¹ÓÃÃüÁîWRKACTJOB²é¿´×÷ÒµÔËÐÐ״̬ʱ£¬¾­³£»á·¢ÏÖһЩϵͳ×÷Òµ£¬µ«ÊDz»Çå³þÕâЩϵͳ×÷ÒµÓÐʲôÓÃ;£¬±¾ÎĽ«¶ÔһЩÖ÷ÒªµÄϵͳ×÷ÒµµÄÓÃ;½øÐнéÉÜ¡£

ÕýÎÄ ÏµÍ³×÷ÒµÊÇÓÉOS/400´´½¨²¢¿ØÖƵģ¬ÓÃÓÚ¿ØÖÆϵͳ×ÊÔ´²¢´¦Àíϵͳ¼¶µÄÇëÇó¡£ÔÚÃüÁî

WRKACTJOBÖÐÏÔʾµÄ×÷ÒµÖУ¬ÏµÍ³×÷ÒµÊÇ°´ÕÕ×ÖĸÅÅÐòÔÚËùÓÐÓû§×ÓϵͳºÍ×÷ÒµÖ®ºóµÄ¡£

 

ϵͳ×÷ÒµÊÇÔÚϵͳIPLʱ³õʼ»¯µÄ£¬µ«ÊÇ£¬Ö»ÒªOS/400ϵͳ´¦Óڻ״̬£¬×÷Òµ

QWCBTCLNUPºÍQDCPOBJxÒ²½«Óë֮ͬÑù±£³Ö»î¶¯¡£ÏµÍ³×÷Òµ²»Äܱ»Óû§Æô¶¯£¬Í£Ö¹»ò¸Ä±ä(³ýÁËÉÙÊýϵͳ×÷Òµ¿ÉÒÔÓÃÃüÁîCHGSYSJOBÀ´¸Ä±ä£¬²¢ÇÒΨһ¿ÉÒÔÓɸÃÃüÁî¸Ä±äµÄÊôÐÔ¾ÍÊÇÕâЩϵͳ×÷ÒµµÄÔËÐÐÓÅÏȼ¶¡£)

 

ÒÔϾÍÊǽéÉÜËùÓÐϵͳ×÷ÒµµÄÏêϸÐÅÏ¢£º

 

-- QALERT - Alert Manager ±¨¾¯¹ÜÀí

¸Ãϵͳ×÷ҵʹ×÷ÒµÄܹ»´¦Àí±¨¾¯£¬°üÀ¨´¦Àí´ÓÆäËûϵͳÉϽÓÊÕµ½µÄ±¨¾¯£¬±¾»ú²úÉú µÄ±¨¾¯£¬²¢ÇÒά»¤ÏµÍ³µÄ¿ØÖÆ¡£QALERTµÄ×÷ÒµÔËÐÐÓÅÏȼ¶¿ÉÒÔÓÃÃüÁîCHGSYSJOB¸Ä±ä¡£¸Ã×÷ÒµÔÚOS/400 R220ʱ¾Í±»¼ÓÈëµ½²Ù×÷ϵͳÖУ¬ÓÃÓÚÖ§³Ö±¨¾¯ÐÅÏ¢µÄ´¦Àí¡£

 

-- QCMNARBxx - Communications Arbiters

ͨѶÖÙ²ÃÆ÷´¦ÀíµÄÖٲò»½ö½ö¶ÔͨѶÉ豸£¬»¹°üÀ¨ËùÓÐÀàÐ͵ÄÆäËûÉ豸¡£´¦ÀíµÄ¹¤×÷°üº¬Í¨Ñ¶Á¬½Ó£¬¶Ï¿ª£¬É豸Ëø¶¨£¬ºÍ´íÎó»Ö¸´¡£ËùÓÐÉ豸Ïà¹ØµÄ¹¤×÷·ÖÉ¢ÔÚϵͳ×÷QCMNARBxxºÍQSYSARBÖС£

 

ϵͳֵQCMNARB¾ö¶¨ÓжàÉÙͨѶÖÙ²Ã×÷ÒµÆô¶¯¡£Èç¹ûQCMNARBÉèÖóÉ*CALC£¬ÏµÍ³½«ÎªÃ¿Ò»¸ö´¦ÀíÆ÷Æô¶¯Á½¸öͨѶÖÙ²Ã×÷Òµ£¬Èç¹ûQCMNARBÉèÖóÉ0£¬¸Ã×÷Òµ½«ÔÚQSYSARBÖÐÔËÐС£QCMNARBxxµÄ×÷ÒµÔËÐÐÓÅÏȼ¶¿ÉÒÔÓÃÃüÁîCHGSYSJOB¸Ä±ä¡£ÔÚ×÷ÒµQCMNARBxx±»¼ÓÈëOS/400 R420ÒÔÇ°£¬ÕâЩ¹¤×÷ÊÇÔÚQSYSARBÖÐÔËÐеġ£

 

-- QDBSRVXR - Database Cross-Reference Êý¾Ý¿â½»²æ²ÎÕÕ

¸Ã×÷ÒµÊÇÓÃÓÚά»¤QSYSÖеÄÎļþ¼¶µÄϵͳ½»²æ²ÎÕÕÎļþ£¬ÕâЩÎļþÖдæ·Å×ÅÊý¾Ý¿âÎļþµÄ½»²æ²ÎÕÕÐÅÏ¢£¬²¢ÇÒÕâЩÎļþÊÇ¿âQSYSÖÐÒÔQADB¿ªÍ·µÄ¡£Ê×Òª±»Î¬»¤µÄÎļþÊÇÎļþ½»²æ²ÎÕÕÎļþQADBXREF£¬Ëü°üº¬ÁËÊý¾Ý¿âÖÐÿһ¸öÎïÀíÎļþ£¬Âß¼­Îļþ£¬DDMÎļþ£¬ALIASÎļþµÄ¼Ç¼¡£µ±Ò»¸öÎļþ±»´´½¨£¬¸Ä±ä£¬É¾³ý£¬»Ö¸´£¬¸üÃû£¬»òÕ߸ıäËùÓÐȨʱ£¬×÷ÒµQDBSRVXR¾Í»á±»¼¤»î¡£¸Ã×÷ÒµÔÚOS/400 R310±»¼ÓÈë²Ù×÷ϵͳ¡£

 

-- QDBSRVXR2 - Database Cross-Reference Êý¾Ý¿â½»²æ²ÎÕÕ

¸Ã×÷ÒµÊÇÓÃÓÚά»¤Á½¸ö×ֶ춵Äϵͳ½»²æ²ÎÕÕÎļþ£¬¿âQSYSÖеÄQADBIFLDÊÇ×ֶν»²æ²ÎÕÕÎļþ£¬¿âQSYSÖеÄQADBKFLDÊǼü×Ö½»²æ²ÎÕÕÎļþ¡£µ±Ò»¸öÎļþ±»´´½¨£¬¸Ä±ä£¬»òɾ³ý£¬ÔËÐмü×ÖÏà¹ØµÄ¹¤×÷ʱ£¬×÷ÒµQDBSRVXR2¾Í»á±»¼¤»î¡£QDBSRVXR2ÓÉPTFÔÚOS/400 R310ʱ±»¼ÓÈë²Ù×÷ϵͳÖС£QDBSRVXR2µÄ×÷ÒµÔËÐÐÓÅÏȼ¶¿ÉÒÔÓÃÃüÁîCHGSYSJOB¸Ä±ä¡£

 

-- QDBSRV01 - Database Server Êý¾Ý¿â·þÎñÆ÷

¸Ã×÷Òµ¿ÉÒÔ±»ÊÓΪÊý¾Ý¿âά»¤ÈÎÎñµÄ·ÖÅäÆ÷¡£Í¨³£µØ£¬µ±»Ö¸´Ò»¸ö°üº¬Êý¾Ý¿âÎļþµÄ¿âʱ£¬QDBSRV01½«Á¢¿Ì±»¼¤»î¡£ËüµÄ¹¦ÄÜ°üÀ¨£º

* ·¢ÐźŸøSMAPP(ϵͳ¹ÜÀíµÄ·ÃÎÊ·¾¶±£»¤»úÖÆ)£¬¸æ֪еķÃÎÊ·¾¶±»»Ö¸´£¬²¢ÇÒÓÉAMAPPÀ´¾ö¶¨ÊÇ·ñÐèÒª±»±£»¤¡£

* ÓÉÓÚ·ÃÎÊ·¾¶Ã»Óб»»Ö¸´Ê±£¬¸Ã×÷Òµ×¼±¸ÐèÒª±»ÖØд´½¨µÄ·ÃÎÊ·¾¶µÄÁÐ±í¡£¸ÃÁбí¿ÉÒÔÓÃÃüÁîEDTRBDAPä¯ÀÀ¡£

 

Êý¾Ý¿â·þÎñÆ÷×÷ÒµµÄÊýÁ¿ÊÇ(1+2*CPUÊý)Óë(1+2*ASPÊý)Á½ÕßÖнϴóµÄÄÇÒ»¸ö¡£×îÉÙÆô¶¯µÄÊýÁ¿ÊÇ5¡£QDBSRV01ÊÇÖ÷ÒªµÄϵͳ×÷Òµ£¬ÓÃÓÚ·ÖÅäÆäËû×÷Òµ¹¤×÷£¬Ê£ÏµÄ×÷Òµ£¬Ò»°ëÊÇÓÃÀ´´¦Àí¸ßÓÅÏȼ¶µÄÇëÇó£¬ÁíÒ»°ëÊÇÓÃÀ´´¦ÀíµÍÓÅÏȼ¶µÄÇëÇó¡£ÀýÈ磺ÔÚÒ»¸öÓÐ4·CPUµÄϵͳÉÏ£¬Ó¦¸ÃÓÐ9¸öQDBSRVxx×÷Òµ£¬ÓÉQDBSRV01À´·ÖÅ乤×÷£¬QDBSRV02-05ÓÃÀ´´¦Àí¸ßÓÅÏȼ¶µÄ×÷Òµ£¬QDBSRV06-09ÓÃÀ´´¦ÀíµÍÓÅÏȼ¶µÄ×÷Òµ¡£¸Ã×÷ÒµÊÇÔÚOS/400 R210±»¼ÓÈë²Ù×÷ϵͳµÄ¡£

 

-- QDBSRVxx - Database Server (high priority)

ÕâЩ×÷ҵά»¤ÏµÍ³µÄÈÕÖ¾ºÍÌá½»¿ØÖÆ¡£

 

-- QDBSRVxx - Database Server (low priority)

ÕâЩ×÷ÒµÓÃÓÚά»¤Óû§µÄÊý¾Ý¿âÎļþµÄ·ÃÎÊ·¾¶¡£ÕâЩ×÷ҵͨ³£²»»î¶¯£¬µ«ÊÇ£¬ÔÚÌض¨µÄÌõ¼þÏ£¬ËüÃDZ»¼¤»îÓÃÓÚ·ÃÎÊ·¾¶µÄÖؽ¨¡£ÕâЩ±»Öؽ¨µÄ·ÃÎÊ·¾¶¿ÉÒÔÓÃÃüÁîEDTRBDAPä¯ÀÀ¡£ÕâЩ×÷Òµ±»¼¤»îµÄÔ­Òò°üÀ¨£º

* »Ö¸´ÄÇЩûÓб£´æ·ÃÎÊ·¾¶µÄÊý¾Ý¿âÎļþ£»

* »Ö¸´ÄÇЩûÓÐÎïÀíÎļþµÄÂß¼­Îļþ£»

* È¡ÏûÕýÔÚÔËÐеÄÃüÁîRGZPFM£»

* ÓÉÓÚ±»ÆÆ»µ¶ø³ÉΪÎÞЧµÄË÷Òý£»

* ¼ÓËÙOS/400°²×°À´Íê³É½»²æ²ÎÕÕ£¬»òÕßÆäËûDB2Éý¼¶µÄ¶¯×÷£»

* ÑéÖ¤Ô¼Êø¡£ÓÃÃüÁîEDTCPCST¿ÉÒÔÏÔʾÄÇЩÕýÔڵȴýÑéÖ¤µÄÔ¼Êø¡£

 

-- QDCPOBJx - Decompress System Object ϵͳ¶ÔÏó½âѹËõ

ÕâЩ×÷ÒµÊÇÓÃÓÚ¶Ôа²×°µÄ²Ù×÷ϵͳ¶ÔÏó½øÐнâѹËõµÄ£¬ËüÃǵÄÔËÐÐÊÇÐèÒªÒ»¶¨µÄ¿Õ¼äµÄ¡£µ±Ê£ÓàÄúµÄϵͳ¿Õ¼äµÍµ½Ò»¶¨³Ì¶È£¬ÕâЩ×÷Òµ¾Í»á½áÊø¡£ÏµÍ³¶ÔÏó½âѹËõ×÷ÒµµÄÊýÁ¿=CPUÊý+1¡£¸Ã×÷ÒµÊÇÔÚOS/400 R210±»¼ÓÈë²Ù×÷ϵͳµÄ¡£

 

-- QFILESYS1 - File System Îļþϵͳ

¸Ã×÷ÒµÓÃÓÚÖ§³ÖÎļþϵͳ×÷ÒµµÄºǫ́ÔËÐУ¬Ëü±£Ö¤¶ÔÎļþµÄ¸Ä¶¯¶¼Ð´Èë´æ´¢½éÖÊÖУ¬²¢Ö´Ðг£¹æµÄÎļþϵͳÇå³ý»î¶¯¡£¸Ã×÷ÒµÊÇÔÚOS/400 R210±»¼ÓÈë²Ù×÷ϵͳµÄ¡£

 

-- QJOBSCD - Job Schedule ×÷Òµµ÷¶È

¸Ã×÷Òµ¿ØÖÆ×÷Òµµ÷¶È¹¦ÄÜ£¬²¢ÓÉϵͳ¼à¿Ø×÷Òµµ÷¶ÈÏîµÄ¼ÆʱÆ÷ºÍµ÷¶ÈµÄ×÷Òµ¡£

¸Ã×÷ÒµÊÇÔÚOS/400 R220±»¼ÓÈë²Ù×÷ϵͳµÄ¡£

 

-- QLUR - LU 6.2 Resynchronization(LU 6.2 ÖØÐÂͬ²½)

¸Ã×÷Òµ´¦ÀíÁ½¶ÎʽÌá½»µÄÖØÐÂͬ²½¡£¸Ã×÷ÒµÊÇÔÚOS/400 R310±»¼ÓÈë²Ù×÷ϵͳµÄ£¬²¢×÷ΪLU 6.2ͨѶЭÒéµÄÒ»²¿·Ö¡£

 

-- QLUS - Logical Unit Services Âß¼­µ¥Ôª·þÎñ

¸Ã×÷Òµ´¦ÀíΪÂß¼­µ¥ÔªÉ豸(ͨѶÉ豸)´¦ÀíµÄʼþ£¬Ëü»¹¸ºÔð½«É豸¶¨Î»µ½ÕýÈ·µÄͨѶ×ÓϵͳÖÐÈ¥¡£QLUSÊÇAS/400ÉÏԭʼµÄϵͳ×÷ÒµÖ®Ò»¡£

 

-- QPFRADJ - Performance Adjustment ÐÔÄܵ÷Õû

ÐÔÄܵ÷Õûϵͳ×÷Òµ¹ÜÀí´æ´¢³Ø´óСºÍ»î¶¯¼¶±ðµÄ±ä»¯¡£ËùÓÐÒªÇó¸Ä±ä´æ´¢³Ø´óСµÄÇëÇó¶¼ÓиÃ×÷Òµ´¦Àí¡£´ËÍ⣬Èç¹ûϵͳֵQPFRADJÉèΪ2»ò3£¬¸Ã×÷Òµ½«¶¯Ì¬µØ¸Ä±ä´æ´¢³Ø´óСºÍ»î¶¯¼¶±ð£¬ÓÉ´ËÌá¸ßϵͳµÄÐÔÄÜ¡£ÔÚOS/400 R430£¬IPLÐÔÄܵ÷Õû(ϵͳֵQPFRADJÉèΪ1»ò2)ÊÇÓÉQPFRADJÀ´´¦ÀíµÄ£¬ÔÚOS/400 R430Ç°£¬IPLÐÔÄܵ÷ÕûÓÉSCPF´¦Àí¡£QPFRADJÊÇÔÚOS/400 R210±»¼ÓÈë²Ù×÷ϵͳµÄ¡£

 

-- QQQTEMP1 and QQQTEMP2 - Database Parallelism Êý¾Ý¿â²¢ÐÐ

¸Ã×÷ÒµÓÃÓÚʵÏÖ¶à¸öDB2ϵͳµÄÊý¾Ý¿âͬ²½¹¦ÄÜ¡£Èç¹ûÓû§¶Ô·Ö²¼Ê½Îļþ½øÐвéѯ£¬¸Ã×÷Òµ¿ÉÒÔͨ¹ýÖ´Ðв¢Ðд¦Àí´Ó¶ø´ïµ½¼Ó¿ì´¦ÀíËٶȵÄÄ¿µÄ¡£ÊÇÔÚOS/400 R370×÷ΪDB2¶àϵͳ֧³Ö¹¦Äܱ»¼ÓÈë²Ù×÷ϵͳµÄ¡£

 

-- QSPLMAINT - System Spool Maintenance ¼ÙÍÑ»ú¹ÜÀí

¸Ã×÷ҵʵÏÖά»¤ÏµÍ³¼ÙÍÑ»úµÄ¹¦ÄÜ¡£

 

-- QSYSARB - System Arbiter ϵͳÖÙ²Ã

ϵͳÖÙ²ÃÌṩÔËÐиßÓÅÏÈȨ¹¦ÄܵĻ·¾³£¬Ëü´¦Àíϵͳ×ÊÔ´²¢±£³Ö¶Ôϵͳ״̬µÄ×·×Ù¡£QSYSARBÊDzÙ×÷ϵͳºËÐÄ×÷Òµ¡£ÏµÍ³ÖٲøºÔðϵͳһ¼¶µÄ£¬ÐèÒªÁ¢¼´´¦ÀíºÍÄܸüÓÐЧµØ±»Ò»¸ö×÷Òµ´¦ÀíµÄÈÎÎñ£¬ÏµÍ³Öٲû¹¸ºÔð´¦ÀíͨѶÇëÇó£¬É豸Ëø¶¨£¬Ïß/¿ØÖÆÆ÷/É豸µÄÅäÖá£ÏµÍ³ÖÙ²ÃÊÇOS/400×îԭʼµÄ×÷ÒµÖ®Ò»¡£

 

-- QSYSCOMM1 - System Communications ϵͳͨѶ

¸Ã×÷Òµ´¦ÀíϵͳͨѶºÍI/O¡£QSYSCOMM1µÄ×÷ÒµÓÅÏÈȨ¿ÉÒÔÓÃÃüÁîCHGSYSJOB¸Ä±ä£¬ËüÊÇÔÚOS/400 R320Öб»¼ÓÈë²Ù×÷ϵͳµÄ¡£

 

-- QWCBTCLNUP - Job Table Cleanup ×÷Òµ±íÇå¿Õ

QWCBTCLNUPÊÇÓÃÓÚÔÚIPL¹ý³ÌÖÐÈ·±£×÷Òµ½á¹¹¿ÉÒÔ±»Ê¹Óá£Í¨³£ÔÚIPL½áÊøʱ£¬¸Ã×÷ÒµÒ²½áÊø´¦ÀíÁË£¬µ«ÊÇ£¬Èç¹ûÓÐÐí¶à×÷Òµ½á¹¹ÐèÒªÇå³ý£¬Ëü¿ÉÒÔÔÚIPL½áÊøºó¼ÌÐøÔËÐС£¸Ãϵͳ×÷ÒµÔÚ´¦ÀíÍê³Éºó¾Í½áÊøÁË¡£QWCBTCLNUPÊÇÔÚOS/400 R210Öе±×÷Òµ±íµÄÇå³ý´ÓSCPFÖб»ÒÆ×ߺó¼ÓÈëϵͳµÄ¡£

 

-- Q400FILSVR - Remote File System Communications Ô¶³ÌÎļþϵͳͨѶ

¸Ã×÷Òµ´¦ÀíÔ¶³ÌÎļþϵͳAPPN/APPCµÄͨÓñà³Ì½Ó¿ÚͨѶ¡£Q400FILSVRÊÇÔÚOS/400

R360ÖÐ×÷ΪԶ³ÌÎļþÖ§³Ö±»¼ÓÈë²Ù×÷ϵͳµÄ¡£

 

-- SCPF - Start Control Program Function Æô¶¯¿ØÖƳÌÐò¹¦ÄÜ

¸Ã×÷ÒµÊDzÙ×÷ϵͳIPLÊǵÄÖÐÐÄ´¦ÀíÈÎÎñ£¬ÌṩÆô¶¯OS/400µÄ»·¾³ºÍËùÖ±½ÓÐèÒªµÄ¹¦ÄÜ¡£SCPFÆô¶¯ËùÓÐÆäËûϵͳ×÷Òµ(³ýÁËQLUS)£¬²¢½«ÏµÍ³´øÈë¿ÉÓÃ״̬¡£SCPFÊÇOS/400×îԭʼµÄ×÷ÒµÖ®Ò»¡£

 

7.9.4         Code Pages and Character Sets for the CCSIDs

 

    ________________________________________________________________________ 

   | Table  A-2. Coded Character Set Identifiers (CCSID)                    |

   |_________ _________ ___________ __________ _____________________________|

   |         | Code    | Character |          |                             |

   | CCSID   | Page    | Set       | Encoding | Description                 |

   |_________|_________|___________|__________|_____________________________|

   | 00037   | 00037   | 00697     | 1100     | US, Canada, Netherlands,    |

   |         |         |           |          | Portugal, Brazil, New       |

   |         |         |           |          | Zealand, Australia          |

   |_________|_________|___________|__________|_____________________________|

   | 00256   | 00256   | 00337     | 1100     | Netherlands                 |

   |_________|_________|___________|__________|_____________________________|

   | 00273   | 00273   | 00697     | 1100     | Austria, Germany            |

   |_________|_________|___________|__________|_____________________________|

   | 00277   | 00277   | 00697     | 1100     | Denmark, Norway             |

   |_________|_________|___________|__________|_____________________________|

   | 00278   | 00278   | 00697     | 1100     | Finland, Sweden             |

   |_________|_________|___________|__________|_____________________________|

   | 00280   | 00280   | 00697     | 1100     | Italy                       |

   |_________|_________|___________|__________|_____________________________|

   | 00284   | 00284   | 00697     | 1100     | Spanish, Latin America      |

   |_________|_________|___________|__________|_____________________________|

   | 00285   | 00285   | 00697     | 1100     | United Kingdom              |

   |_________|_________|___________|__________|_____________________________|

   | 00290   | 00290   | 01172     | 1100     | Japan Katakana (extended    |

   |         |         |           |          | range)                      |

   |_________|_________|___________|__________|_____________________________|

   | 00297   | 00297   | 00697     | 1100     | France                      |

   |_________|_________|___________|__________|_____________________________|

   | 00300   | 00300   | 01001     | 1200     | Japan English               |

   |_________|_________|___________|__________|_____________________________|

   | 00301   | 00301   | 00370     | 2200     | Japanese PC Data            |

   |_________|_________|___________|__________|_____________________________|

   | 00367   | 00367   | 00103     | 5100     | ANSI X3.4 ASCII standard;   |

   |         |         |           |          | USA                         |

   |_________|_________|___________|__________|_____________________________|

   | 00420   | 00420   | 00235     | 1100     | Arabic-speaking countries   |

   |_________|_________|___________|__________|_____________________________|

   | 00423   | 00423   | 00218     | 1100     | Greece                      |

   |_________|_________|___________|__________|_____________________________|

   | 00424   | 00424   | 00941     | 1100     | Hebrew                      |

   |_________|_________|___________|__________|_____________________________|

   | 00437   | 00437   | 01212     | 2100     | PC Data; PC Base; USA       |

   |_________|_________|___________|__________|_____________________________|

   | 00500   | 00500   | 00697     | 1100     | Belgium, Canada,            |

   |         |         |           |          | Switzerland, International  |

   |         |         |           |          | Latin-1                     |

   |_________|_________|___________|__________|_____________________________|

 | | 00720   | 00720   | 00814     | 2100     | MS-DOS Arabic               |

   |_________|_________|___________|__________|_____________________________|

   | 00737   | 00737   | 00812     | 2100     | MS-DOS** Greek PC-Data      |

   |_________|_________|___________|__________|_____________________________|

   | 00775   | 00775   | 00813     | 2100     | MS-DOS Baltic PC-Data       |

   |_________|_________|___________|__________|_____________________________|

   | 00813   | 00813   | 00925     | 4100     | ISO 8859-7; Greek/Latin     |

   |_________|_________|___________|__________|_____________________________|

   | 00819   | 00819   | 00697     | 4100     | ISO 8859-1; Latin Alphabet  |

   |         |         |           |          | No. 1                       |

   |_________|_________|___________|__________|_____________________________|

   | 00833   | 00833   | 01173     | 1100     | Korea (extended range)      |

   |_________|_________|___________|__________|_____________________________|

   | 00834   | 00834   | 00934     | 1200     | Korea host double byte      |

   |         |         |           |          | (including 1880 UDC)        |

   |_________|_________|___________|__________|_____________________________|

   | 00835   | 00835   | 00935     | 1200     | Traditional Chinese host    |

   |         |         |           |          | double byte (including 6204 |

   |         |         |           |          | UDC)                        |

   |_________|_________|___________|__________|_____________________________|

   | 00836   | 00836   | 01174     | 1100     | Simplified Chinese          |

   |         |         |           |          | (extended range)            |

   |_________|_________|___________|__________|_____________________________|

   | 00837   | 00837   | 00937     | 1200     | Simplified Chinese          |

   |_________|_________|___________|__________|_____________________________|

   | 00838   | 00838   | 01176     | 1100     | Thailand (extended range)   |

   |_________|_________|___________|__________|_____________________________|

   | 00850   | 00850   | 01106     | 2100     | PC Data; MLP 222 Latin      |

   |         |         |           |          | Alphabet 1                  |

   |_________|_________|___________|__________|_____________________________|

   | 00851   | 00851   | 01231     | 2100     | PC Data; Greek              |

   |_________|_________|___________|__________|_____________________________|

   | 00852   | 00852   | 01232     | 2100     | PC Data; Latin-2            |

   |         |         |           |          | Multilingual                |

   |_________|_________|___________|__________|_____________________________|

   | 00855   | 00855   | 01235     | 2100     | PC Data; ROECE Cyrillic     |

   |_________|_________|___________|__________|_____________________________|

   | 00857   | 00857   | 01237     | 2100     | PC Data; Turkey Latin #5    |

   |_________|_________|___________|__________|_____________________________|

   | 00860   | 00860   | 01213     | 2100     | PC Data; Portugal           |

   |_________|_________|___________|__________|_____________________________|

   | 00861   | 00861   | 01214     | 2100     | PC Data; Iceland            |

   |_________|_________|___________|__________|_____________________________|

   | 00862   | 00862   | 01217     | 2100     | PC Data; Hebrew             |

   |_________|_________|___________|__________|_____________________________|

   | 00863   | 00863   | 01215     | 2100     | PC Data; Canada             |

   |_________|_________|___________|__________|_____________________________|

   | 00864   | 00864   | 01244     | 2100     | PC Data; Arabic             |

   |_________|_________|___________|__________|_____________________________|

   | 00865   | 00865   | 01216     | 2100     | PC Data; Denmark, Norway    |

   |_________|_________|___________|__________|_____________________________|

   | 00866   | 00866   | 01190     | 2100     | PC Data; Cyrillic #2 -      |

   |         |         |           |          | Personal Computer           |

   |_________|_________|___________|__________|_____________________________|

   | 00868   | 00868   | 01248     | 2100     | PC Data; Urdu               |

   |_________|_________|___________|__________|_____________________________|

   | 00869   | 00869   | 01249     | 2100     | PC Data; Greek              |

   |_________|_________|___________|__________|_____________________________|

   | 00870   | 00870   | 00959     | 1100     | Latin-2 Multilingual        |

   |_________|_________|___________|__________|_____________________________|

   | 00871   | 00871   | 00697     | 1100     | Iceland                     |

   |_________|_________|___________|__________|_____________________________|

   | 00874   | 00874   | 01176     | 2100     | Thai PC Data                |

   |_________|_________|___________|__________|_____________________________|

   | 00875   | 00875   | 00925     | 1100     | Greece                      |

   |_________|_________|___________|__________|_____________________________|

   | 00880   | 00880   | 00960     | 1100     | Cyrillic Multilingual       |

   |_________|_________|___________|__________|_____________________________|

   | 00891   | 00891   | 01224     | 2100     | Korean PC Data              |

   |         |         |           |          | (non-extended)              |

   |_________|_________|___________|__________|_____________________________|

   | 00896   | 00896   | 01121     | 5100     | Japan 7-bit Katakana        |

   |_________|_________|___________|__________|_____________________________|

   | 00897   | 00897   | 01122     | 2100     | Japanese PC Data            |

   |         |         |           |          | (non-extended)              |

   |_________|_________|___________|__________|_____________________________|

   | 00903   | 00903   | 01185     | 2100     | Simplified Chinese PC Data  |

   |         |         |           |          | (non-extended)              |

   |_________|_________|___________|__________|_____________________________|

   | 00904   | 00904   | 00103     | 2100     | Traditional Chinese PC Data |

   |_________|_________|___________|__________|_____________________________|

   | 00905   | 00905   | 00965     | 1100     | Turkey Latin-3              |

   |_________|_________|___________|__________|_____________________________|

   | 00912   | 00912   | 00959     | 4100     | ISO 8859-2; ROECE Latin-2   |

   |         |         |           |          | Multilingual                |

   |_________|_________|___________|__________|_____________________________|

   | 00915   | 00915   | 01150     | 4100     | ISO 8859-5; Cyrillic; 8-bit |

   |         |         |           |          | ISO                         |

   |_________|_________|___________|__________|_____________________________|

   | 00916   | 00916   | 00941     | 4100     | ISO 8859-8; Hebrew          |

   |_________|_________|___________|__________|_____________________________|

   | 00920   | 00920   | 01152     | 4100     | ISO 8859-9; Latin 5         |

   |_________|_________|___________|__________|_____________________________|

 | | 00921   | 00921   | 01305     | 4100     | Baltic, 8-bit               |

   |_________|_________|___________|__________|_____________________________|

 | | 00922   | 00922   | 01307     | 4100     | Estonia, 8-bit              |

   |_________|_________|___________|__________|_____________________________|

   | 00926   | 00926   | 00934     | 2200     | Korean PC Data DBCS, UDC    |

   |         |         |           |          | 1880                        |

   |_________|_________|___________|__________|_____________________________|

   | 00927   | 00927   | 00935     | 2200     | Traditional Chinese PC Data |

   |         |         |           |          | DBCS, UDC 6204              |

   |_________|_________|___________|__________|_____________________________|

   | 00928   | 00928   | 00937     | 2200     | Simplified Chinese PC Data  |

   |         |         |           |          | DBCS, UDC 1880              |

   |_________|_________|___________|__________|_____________________________|

   | 00930   | 00290   | 01172     | 1301     | Japan Katakana (extended    |

   |         | 00300   | 01001     |          | range) 4370 UDC (User       |

   |         |         |           |          | Defined Characters)         |

   |_________|_________|___________|__________|_____________________________|

   | 00932   | 00897   | 01122     | 2300     | Japan PC Data Mixed         |

   |         | 00301   | 00370     |          |                             |

   |_________|_________|___________|__________|_____________________________|

   | 00933   | 00833   | 01173     | 1301     | Korea (extended range),     |

   |         | 00834   | 00934     |          | 1880 UDC                    |

   |_________|_________|___________|__________|_____________________________|

   | 00934   | 00891   | 01224     | 2300     | Korean PC Data              |

   |         | 00926   | 00934     |          |                             |

   |_________|_________|___________|__________|_____________________________|

   | 00935   | 00836   | 01174     | 1301     | Simplified Chinese          |

   |         | 00837   | 00937     |          | (extended range)            |

   |_________|_________|___________|__________|_____________________________|

   | 00936   | 00903   | 01185     | 2300     | Simplified Chinese          |

   |         | 00928   | 00937     |          | (non-extended)              |

   |_________|_________|___________|__________|_____________________________|

   | 00937   | 00037   | 01175     | 1301     | Traditional Chinese         |

   |         | 00835   | 00935     |          | (extended range)            |

   |_________|_________|___________|__________|_____________________________|

   | 00938   | 00904   | 00103     | 2300     | Traditional Chinese         |

   |         | 00927   | 00935     |          | (non-extended)              |

   |_________|_________|___________|__________|_____________________________|

   | 00939   | 01027   | 01172     | 1301     | Japan English (extended     |

   |         | 00300   | 01001     |          | range) 4370 UDC             |

   |_________|_________|___________|__________|_____________________________|

   | 00942   | 01041   | 01172     | 2300     | Japanese PC Data Mixed      |

   |         | 00301   | 00370     |          |                             |

   |_________|_________|___________|__________|_____________________________|

 | | 00943   | 00897   | 65535     | 2300     | Japanese PC Data Mixed for  |

 | |         | 00941   | 65535     |          | Open environment            |

   |_________|_________|___________|__________|_____________________________|

   | 00944   | 01040   | 01173     | 2300     | Korean PC Data Mixed        |

   |         | 00926   | 00934     |          |                             |

   |_________|_________|___________|__________|_____________________________|

   | 00946   | 01042   | 01239     | 2300     | Simplified Chinese PC Data  |

   |         | 00928   | 00937     |          | Mixed                       |

   |_________|_________|___________|__________|_____________________________|

   | 00947   | 00947   | 00935     | 2200     | ASCII Double-byte           |

   |_________|_________|___________|__________|_____________________________|

   | 00948   | 01043   | 01175     | 2300     | Traditional Chinese PC Data |

   |         | 00927   | 00935     |          | Mixed 6204 UDC (User        |

   |         |         |           |          | Defined Characters)         |

   |_________|_________|___________|__________|_____________________________|

   | 00949   | 01088   | 01278     | 2300     | Republic of Korea National  |

   |         | 00951   | 01050     |          | Standard Graphic Character  |

   |         |         |           |          | Set (KS) PC Data mixed-byte |

   |         |         |           |          | including 1800 UDC          |

   |_________|_________|___________|__________|_____________________________|

   | 00950   | 01114   | 00103     | 2300     | Traditional Chinese PC Data |

   |         | 00947   | 00935     |          | Mixed for Big5              |

   |_________|_________|___________|__________|_____________________________|

   | 00951   | 01050   | 00951     | 2200     | Republic of Korea National  |

   |         |         |           |          | Standard Graphic Character  |

   |         |         |           |          | Set (KS) PC Data            |

   |         |         |           |          | double-byte including 1800  |

   |         |         |           |          | UDC                         |

   |_________|_________|___________|__________|_____________________________|

   | 00956   | 00895   | 01120     | 5404     | JIS X201 Roman for CP       |

   |         | 00952   | 01064     |          | 00895; JIS X208-1983 for CP |

   |         |         |           |          | 00952                       |

   |_________|_________|___________|__________|_____________________________|

   | 00957   | 00895   | 01120     | 5404     | JIS X201 Roman for CP       |

   |         | 00955   | 01063     |          | 00895; JIS X208-1978 for CP |

   |         |         |           |          | 00955                       |

   |_________|_________|___________|__________|_____________________________|

   | 00958   | 00367   | 00103     | 5404     | ASCII for CP 00367; JIS     |

   |         | 00952   | 01064     |          | X208-1983 for CP 00952      |

   |_________|_________|___________|__________|_____________________________|

   | 00959   | 00367   | 00103     | 5404     | ASCII for CP 00367; JIS     |

   |         | 00955   | 01063     |          | X208-1978 for CP 00955      |

   |_________|_________|___________|__________|_____________________________|

   | 00964   | 00367   | 00103     | 4403     | G0 - ASCII for CP 00367;    |

   |         | 00960   | 01070     |          | G1- CNS 11643 plane 1 for   |

   |         |         |           |          | CP 960                      |

   |_________|_________|___________|__________|_____________________________|

   | 00965   | 00367   | 00103     | 5404     | ASCII for CP 00367; CNS     |

   |         | 00960   | 01070     |          | 11643 plane 1 for CP 960    |

   |_________|_________|___________|__________|_____________________________|

   | 00970   | 00367   | 00103     | 4403     | G0 ASCII for CP 00367; G1   |

   |         | 00971   | 01056     |          | KSC X5601-1989 (including   |

   |         |         |           |          | 188 UDCs) for CP 971        |

   |_________|_________|___________|__________|_____________________________|

   | 01008   | 01008   | 01162     | 4100     | Arabic 8-bit ISO/ASCII      |

   |_________|_________|___________|__________|_____________________________|

   | 01009   | 01009   | 01169     | 5100     | IS0-7: IRV                  |

   |_________|_________|___________|__________|_____________________________|

   | 01010   | 01010   | 00288     | 5100     | ISO-7; France               |

   |_________|_________|___________|__________|_____________________________|

   | 01011   | 01011   | 00265     | 5100     | ISO-7; Germany              |

   |_________|_________|___________|__________|_____________________________|

   | 01012   | 01012   | 00293     | 5100     | ISO-7; Italy                |

   |_________|_________|___________|__________|_____________________________|

   | 01013   | 01013   | 01118     | 5100     | ISO-7; United Kingdom       |

   |_________|_________|___________|__________|_____________________________|

   | 01014   | 01014   | 01119     | 5100     | ISO-7; Spain                |

   |_________|_________|___________|__________|_____________________________|

   | 01015   | 01015   | 01116     | 5100     | ISO-7; Portugal             |

   |_________|_________|___________|__________|_____________________________|

   | 01016   | 01016   | 01117     | 5100     | ISO-7; Norway               |

   |_________|_________|___________|__________|_____________________________|

   | 01017   | 01017   | 01135     | 5100     | ISO-7; Denmark              |

   |_________|_________|___________|__________|_____________________________|

   | 01018   | 01018   | 01136     | 5100     | ISO-7; Finland and Sweden   |

   |_________|_________|___________|__________|_____________________________|

   | 01019   | 01019   | 01137     | 5100     | ISO-7; Belgium and          |

   |         |         |           |          | Netherlands                 |

   |_________|_________|___________|__________|_____________________________|

   | 01025   | 01025   | 01150     | 1100     | Cyrillic Multilingual       |

   |_________|_________|___________|__________|_____________________________|

   | 01026   | 01026   | 01152     | 1100     | Turkey Latin 5 CECP         |

   |_________|_________|___________|__________|_____________________________|

   | 01027   | 01027   | 01172     | 1100     | Japan English (extended     |

   |         |         |           |          | range)                      |

   |_________|_________|___________|__________|_____________________________|

   | 01040   | 01040   | 01173     | 2100     | Korean Latin PC Data        |

   |         |         |           |          | extended                    |

   |_________|_________|___________|__________|_____________________________|

   | 01041   | 01041   | 01172     | 2100     | Japanese PC Data extended   |

   |_________|_________|___________|__________|_____________________________|

   | 01042   | 01042   | 01239     | 2100     | Simplified Chinese PC Data  |

   |         |         |           |          | extended                    |

   |_________|_________|___________|__________|_____________________________|

   | 01043   | 01043   | 01175     | 2100     | Traditional Chinese PC Data |

   |         |         |           |          | extended                    |

   |_________|_________|___________|__________|_____________________________|

   | 01046   | 01046   | 01177     | 2100     | PC Data - Arabic Extended   |

   |_________|_________|___________|__________|_____________________________|

 | | 01051   | 01051   | 01201     | 4100     | HP Emulation (for use with  |

 | |         |         |           |          | Latin 1)                    |

   |_________|_________|___________|__________|_____________________________|

   | 01088   | 01088   | 01278     | 2100     | Korean PC Data single-byte  |

   |_________|_________|___________|__________|_____________________________|

 | | 01089   | 01089   | 01271     | 4100     | ISO 8859-6: Arabic          |

   |_________|_________|___________|__________|_____________________________|

   | 01097   | 01097   | 01219     | 1100     | Farsi                       |

   |_________|_________|___________|__________|_____________________________|

   | 01098   | 01098   | 01288     | 2100     | Farsi (IBM-PC)              |

   |_________|_________|___________|__________|_____________________________|

   | 01112   | 01112   | 01305     | 1100     | Baltic, Multilingual        |

   |_________|_________|___________|__________|_____________________________|

   | 01114   | 01114   | 00103     | 2100     | Traditional Chinese, Taiwan |

   |         |         |           |          | Industry Graphic Character  |

   |         |         |           |          | Set (Big5)                  |

   |_________|_________|___________|__________|_____________________________|

   | 01115   | 01115   | 00103     | 2100     | Simplified Chinese,         |

   |         |         |           |          | People's Republic of China  |

   |         |         |           |          | National Standard (GB),     |

   |         |         |           |          | personal computer SBCS      |

   |_________|_________|___________|__________|_____________________________|

   | 01122   | 01122   | 01307     | 1100     | Estonia                     |

   |_________|_________|___________|__________|_____________________________|

 | | 01129   | 01129   | 01336     | 4100     | ISO-8 Vietnamese            |

   |_________|_________|___________|__________|_____________________________|

 | | 01130   | 01130   | 01336     | 1100     | EBCDIC Vietnamese           |

   |_________|_________|___________|__________|_____________________________|

 | | 01132   | 01132   | 01341     | 1100     | EBCDIC Lao                  |

   |_________|_________|___________|__________|_____________________________|

 | | 01133   | 01133   | 01341     | 4100     | ISO-8 Lao                   |

   |_________|_________|___________|__________|_____________________________|

   | 01250   | 01250   | 1400      | 4105     | Windows**, Latin 2          |

   |_________|_________|___________|__________|_____________________________|

   | 01251   | 01251   | 1401      | 4105     | Windows, Cyrillic           |

   |_________|_________|___________|__________|_____________________________|

   | 01252   | 01252   | 1402      | 4105     | Windows,Latin 1             |

   |_________|_________|___________|__________|_____________________________|

   | 01253   | 01253   | 1403      | 4105     | Windows, Greek              |

   |_________|_________|___________|__________|_____________________________|

   | 01254   | 01254   | 1404      | 4105     | Windows, Turkish            |

   |_________|_________|___________|__________|_____________________________|

   | 01255   | 01255   | 1405      | 4105     | Windows, Hebrew             |

   |_________|_________|___________|__________|_____________________________|

   | 01256   | 01256   | 1406      | 4105     | Windows, Arabic             |

   |_________|_________|___________|__________|_____________________________|

   | 01257   | 01257   | 1407      | 4105     | Windows, Baltic Rim         |

   |_________|_________|___________|__________|_____________________________|

 | | 01258   | 01258   | 01408     | 4105     | Windows, Vietnamese         |

   |_________|_________|___________|__________|_____________________________|

 | | 01275   | 01275   | 01425     | 4105     | Apple, Latin-1              |

   |_________|_________|___________|__________|_____________________________|

 | | 01280   | 01280   | 01430     | 4105     | Apple, Greek                |

   |_________|_________|___________|__________|_____________________________|

 | | 01281   | 01281   | 01431     | 4105     | Apple, Turkey               |

   |_________|_________|___________|__________|_____________________________|

 | | 01282   | 01282   | 01432     | 4105     | Apple, Central European     |

 | |         |         |           |          | (Latin-2)                   |

   |_________|_________|___________|__________|_____________________________|

 | | 01283   | 01283   | 01433     | 4105     | Apple, Cyrillic             |

   |_________|_________|___________|__________|_____________________________|

 | | 01380   | 01380   | 00937     | 2200     | Simplified Chinese DBCS PC  |

   |_________|_________|___________|__________|_____________________________|

   | 01381   | 01115   | 00103     | 2300     | Simplified Chinese PC Data  |

   |         | 01380   | 00937     |          | Mixed                       |

   |_________|_________|___________|__________|_____________________________|

   | 01383   | 00367   | 00103     | 4403     | Simplified Chinese, EUC     |

   |         | 01382   | 01081     |          |                             |

   |         |         |           |          |     G0 set; ASCII           |

   |         |         |           |          |                             |

   |         |         |           |          |     G1 set; GB 2312-80 set  |

   |         |         |           |          |     (1382)                  |

   |_________|_________|___________|__________|_____________________________|

 | | 01386   | 01114   | 65535     | 2300     | Simplified Chinese PC Data  |

 | |         | 01385   | 65535     |          | GBK mixed                   |

   |_________|_________|___________|__________|_____________________________|

 | | 01388   | 00836   | 65535     | 1301     | Simplified Chinese          |

 | |         | 00837   | 65535     |          | DBCS-Host Data GBK mixed    |

   |_________|_________|___________|__________|_____________________________|

   | 04396   | 00300   | 00370     | 1200     | Japanese Host DB including  |

   |         |         |           |          | 1880                        |

   |_________|_________|___________|__________|_____________________________|

   | 04948   | 00852   | 00959     | 2100     | Latin 2 PC Data             |

   |         |         |           |          | Multilingual                |

   |_________|_________|___________|__________|_____________________________|

   | 04951   | 00855   | 01150     | 2100     | Cyrillic PC Data            |

   |         |         |           |          | Multilingual                |

   |_________|_________|___________|__________|_____________________________|

   | 04952   | 00856   | 00941     | 2100     | Hebrew PC Data              |

   |_________|_________|___________|__________|_____________________________|

   | 04953   | 00857   | 01152     | 2100     | Turkey PC Data Latin 5      |

   |_________|_________|___________|__________|_____________________________|

   | 04960   | 00864   | 00235     | 2100     | Arabic PC Data              |

   |_________|_________|___________|__________|_____________________________|

   | 04965   | 00869   | 00925     | 2100     | Greek PC Data               |

   |_________|_________|___________|__________|_____________________________|

   | 05026   | 00290   | 01172     | 1301     | Japan Katakana (extended    |

   |         | 00300   | 00370     |          | range) 1880 UDC             |

   |_________|_________|___________|__________|_____________________________|

   | 05035   | 01027   | 01172     | 1301     | Japan English (extended     |

   |         | 00300   | 00370     |          | range) 1880 UDC             |

   |_________|_________|___________|__________|_____________________________|

   | 05050   | 00895   | 01120     | 4403     | G0 - JIS X201 Roman for CP  |

   |         | 00952   | 01058     |          | 895; G1 JIS X208-1990 for   |

   |         |         |           |          | CP 952                      |

   |_________|_________|___________|__________|_____________________________|

   | 05052   | 00895   | 01120     | 5404     | JIS X201 Roman for CP 895;  |

   |         | 00952   | 01064     |          | JIS X208-1983 for CP 952    |

   |_________|_________|___________|__________|_____________________________|

   | 05053   | 00895   | 01120     | 5404     | JIS X201 Roman for CP 895;  |

   |         | 00955   | 01063     |          | JIS X208-1978 for CP 955    |

   |_________|_________|___________|__________|_____________________________|

   | 05054   | 00367   | 00103     | 5404     | ASCII for CP 367; JIS       |

   |         | 00952   | 01064     |          | X208-1983 for CP 952        |

   |_________|_________|___________|__________|_____________________________|

   | 05055   | 00367   | 00103     | 5404     | ASCII for CP 367; JIS       |

   |         | 00955   | 01063     |          | X208-1978 for CP 955        |

   |_________|_________|___________|__________|_____________________________|

   | 08612   | 00420   | 01142     | 01100    | Arabic (base shapes only)   |

   |_________|_________|___________|__________|_____________________________|

   | 09030   | 00838   | 01279     | 1100     | Thai Host Extended SBCS     |

   |_________|_________|___________|__________|_____________________________|

   | 09056   | 00864   | 01101     | 2100     | PC Data: Arabic PC          |

   |         |         |           |          | Storage/Interchange         |

   |_________|_________|___________|__________|_____________________________|

   | 09066   | 00874   | 01279     | 2100     | Thai PC Data Extended SBCS  |

   |_________|_________|___________|__________|_____________________________|

   | 13488   | 01200   | 01200     | 7200     | ISO/IEC 10646 Universal     |

   |         |         |           |          | Coded Character Set Level 2 |

   |         |         |           |          | (UCS-2)                     |

   |_________|_________|___________|__________|_____________________________|

   | 17354   | 00367   | 00103     | 5404     | G0 - ASCII for CP 00367; G1 |

   |         | 00971   | 01056     |          | - KSC X5601-1989 (including |

   |         |         |           |          | 188 UDCs) for CP 00971      |

   |_________|_________|___________|__________|_____________________________|

 | | 25546   | 00367   | 00103     | 5409     | Korean 2022-KR TCP ASCII    |

 | |         | 00971   | 01056     |          |                             |

   |_________|_________|___________|__________|_____________________________|

   | 28709   | 00037   | 01175     | 1100     | Traditional Chinese         |

   |         |         |           |          | (extended range)            |

   |_________|_________|___________|__________|_____________________________|

   | 33722   | 00895   | 01120     | 4403     | Japanese EUC                |

   |         | 00952   | 01058     |          |                             |

   |         | 00896   | 01284     |          |     G0; JIS X201 Roman set  |

   |         | 00953   | 01060     |          |     (00895)                 |

   |         |         |           |          |                             |

   |         |         |           |          |     G1; JIS X208-1990 set   |

   |         |         |           |          |     (00952)                 |

   |         |         |           |          |                             |

   |         |         |           |          |     G2; JIS X201 Katakana   |

   |         |         |           |          |     set (04992)             |

   |         |         |           |          |                             |

   |         |         |           |          |     G3; JIS X212 set        |

   |         |         |           |          |     (09145)                 |

   |_________|_________|___________|__________|_____________________________|

   | 57345   |         |           | 5404     | All Japanese 2022           |

   |         |         |           |          | characters                  |

   |_________|_________|___________|__________|_____________________________|

   | 61952   | 65024   | 65024     | 7200     | AS/400 specific UCS level   |

   |         |         |           |          | 2.                          |

   |_________|_________|___________|__________|_____________________________|

   | 65534   |         |           |          | Look at lower level CCSID   |

   |_________|_________|___________|__________|_____________________________|

   | 65535   |         |           |          | Special value indicating    |

   |         |         |           |          | data is hex and should not  |

   |         |         |           |          | be converted. This is the   |

   |         |         |           |          | default for the QCCSID      |

   |         |         |           |          | system value.               |

   |_________|_________|___________|__________|_____________________________|