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

 

·µ»Ø×ÜĿ¼

 

3.       AS/400 ϵͳ²¿·Ö-- 5

3.1.            ϵͳÌåϵ½á¹¹¡¢¸ÅÄî... 5

3.2.            ϵͳ¹ÜÀí... 5

3.2.1.      ϵͳ°²È«-- 5

3.2.1.1.       »Ö¸´DSTÃÜÂë-- 5

3.2.1.2.       »Ö¸´ÏµÍ³ÃÜÂë-- 5

3.2.2.      ϵͳ°²È«ÐÔ-- 5

3.2.2.1.       ÎïÀí°²È«ÐÔ-- 5

3.2.2.2.       °²È«¼¶±ð-- 5

3.2.2.3.       Óû§ÌØÕ÷Îļþ-- 5

3.2.2.4.       Óû§¼¶±ð-- 5

3.2.2.5.       Áª»ú°²È«-- 5

3.2.2.6.       ×ÊÔ´°²È«-- 5

3.2.3.      Êý¾Ý±¸·Ý-- 5

3.2.4.      ÐÔÄܹÜÀí-- 5

3.2.4.1.       AS/400ÉϵÄFTP- 5

3.2.4.2.       ÈçºÎʹÓÃFTPÔÚPCºÍAS/400Ö®¼ä´«Êä°üº¬ÖÐÎĵÄÎļþ-- 5

3.2.5       ²Ù×÷ϵͳ°²×°·½·¨-- 5

3.2.6       ¹ØÓÚlockµÄһЩ¸ÅÄî-- 5

3.2.7       Journal¹ÜÀí-- 5

3.AS/400 ϵͳ²¿·Ö

3.1.ϵͳÌåϵ½á¹¹¡¢¸ÅÄî

3.2.ϵͳ¹ÜÀí

3.2.1.ϵͳ°²È«

3.2.1.1.»Ö¸´DSTÃÜÂë

A.       Ãæ°åµ÷³É 01 D M V=F Æô¶¯ ,  ·ÅÈëI_BASE_01¹âÅÌ , ÓÃCLIENT ACCESSÁ¬½ÓAS400 (³õʼDSTÓû§¼°¿ÚÁî¾ùΪQSECOFR), Ñ¡ÔñÓïÑÔ, NEXT , ³öÏÖÏÂÃæµÄ½çÃæ , Ñ¡Ôñ2 , NEXT

                        Install Licensed Internal Code                         

                                                           System:   12345678 

 Select one of the following:                                                  

                                                                                

      1. Install Licensed Internal Code                                        

      2. Work with Dedicated Service Tools (DST)                               

      3. Define alternate installation device                                   

                                                                               

                                                                              

                                                                                

                                                                               

 Selection                                                                     

      2                                                                        

                                                                                

 Licensed Internal Code - Property of IBM 5722-999 Licensed                    

 Internal Code (c) Copyright IBM Corp.  1980, 2001.  All                       

 rights reserved.  US Government Users Restricted Rights -                     

 Use duplication or disclosure restricted by GSA ADP schedule                  

 Contract with IBM Corp.                                                       

                                                                                

                                                                               

 

 

B.       ÊäÈëQSECOFRÓû§¼°ÆäÃÜÂë , NEXT

                     Dedicated Service Tools (DST) Sign On                           

                                                            System:   12345678 

 Type choices, press Enter.                                                          

                                                                               

   Service tools user . . . . . . . . . . .   QSECOFR                          

   Service tools password . . . . . . . £ª£ª£ª£ª£ª£ª                          

                                                                               

                                                                             

 

 F3=Exit   F5=Change password   F12=Cancel                                       

                                                                               

 

C.       Ñ¡Ôñ3 , NEXT

                      Use Dedicated Service Tools (DST)                       

                                                            System:   12345678 

 Select one of the following:                                                  

                                                                               

      1. Install Licensed Internal Code                                         

      2. Work with disk units                                                  

      3. Work with DST environment                                              

      4. Start a service tool                                                  

      5. Work with remote service support                                      

                                                                                                                                                            

                                                                                

 Selection                                                                     

      3                                                                        

                                                                                

 F3=Exit   F12=Cancel                                                          

                                                                               

D.       Ñ¡Ôñ3 , NEXT

                           Work with DST Environment                           

                                                            System:   12345678 

 Select one of the following:                                                  

                                                                                

      1. Active service tools                                                  

      2. System devices                                                        

      3. Service tools user profile                                             

                                                                              

                                                                               

 Selection                                                                      

      3                                                                        

                                                                               

 F3=Exit   F12=Cancel                                                          

 

E.       Ñ¡Ôñ2 , NEXT

                     Work with Service Tools User Profile                      

                                                            System:   12345678 

 Type option, press Enter.                                                     

   2=Change password     4=Display     8=Change description                    

                                                                               

      User                                                                     

 Opt   Profile        Description                        Status      

  2   QSECOFR      QSECOFR                       Enabled     

                                                                               

                                                                                                                                                      

                                                                               

 F3=Exit   F5=Refresh   F12=Cancel                                             

 

 

 

F.       ÊäÈëÐÂÃÜÂë , NEXT

                           Change Service Tools User Password                  

                                                            System:   12345678 

 Service tools user profile name . . . . . :  QSECOFR                          

 Password last changed . . . . . . . . . . :     03/31/04                         

                                                                               

 Type choices, press Enter.                                                    

   Current password  . . . . . . . . . . . .   £ª£ª£ª£ª£ª£ª£ª                       

                                                                               

    New password  . . . . . . . . . . . . . .   £ª£ª£ª£ª£ª£ª£ª                     

                                                                                

    New password (to verify)  . . . . . . . £ª£ª£ª£ª£ª£ª£ª                                  

                                                                               

                                                                                

                                                                               

                                                                               

 F3=Exit   F12=Cancel                                                          

       

×¢Òâ: ÐÂÃÜÂë²»ÄÜÓë¾ÉÃÜÂëÏàͬ                  

 

 

3.2.1.2.»Ö¸´ÏµÍ³ÃÜÂë

A.       Ãæ°åµ÷³É 01 B M V=F Æô¶¯ , ÓÃCLIENT ACCESSÁ¬½ÓAS400, ³öÏÖÏÂÃæµÄ½çÃæ , Ñ¡Ôñ3 , NEXT

                          IPL or Install the System                            

                                                            System:   12345678 

 Select one of the following:                                                  

                                                                               

      1. Perform an IPL                                                         

      2. Install the operating system                                          

      3. Use Dedicated Service Tools (DST)                                     

      4. Perform automatic installation of the operating system                

      5. Save Licensed Internal Code                                           

                                                                               

                                                                          

 Selection                                                                      

      3                                                                        

                                                                               

 Licensed Internal Code - Property of IBM 5722-999 Licensed                    

 Internal Code (c) Copyright IBM Corp.  1980, 2001.  All                       

 rights reserved.  US Government Users Restricted Rights -                     

 Use duplication or disclosure restricted by GSA ADP schedule                  

 Contract with IBM Corp.                                                        

                                                                               

 

B.       ³öÏÖÒÔϽçÃæ , ÊäÈëQSECOFRÓû§¼°ÆäÃÜÂë , NEXT

                     Dedicated Service Tools (DST) Sign On                     

                                                            System:   12345678 

 Type choices, press Enter.                                                     

                                                                               

   Service tools user . . . . . . . . . . .   ¡¡QSECOFR                          

   Service tools password . . . . . . . . . £ª£ª£ª£ª£ª£ª£ª                                    

                                                                               

                                                                               

                                                                               

                                                                               

                                                                               

 F3=Exit   F5=Change password   F12=Cancel                                     

                                                                                

 

 

 

 

 

C.       Ñ¡Ôñ5 , NEXT

                       Use Dedicated Service Tools (DST)                       

                                                            System:   12345678 

 Select one of the following:                                                  

                                                                               

      1. Perform an IPL                                                        

      2. Install the operating system                                          

      3. Work with Licensed Internal Code                                      

      4. Work with disk units                                                  

      5. Work with DST environment                                              

      6. Select DST console mode                                               

      7. Start a service tool                                                  

      8. Perform automatic installation of the operating system                

      9. Work with save storage and restore storage                            

     10. Work with remote service support                                      

                                                                                

                                                                              

 Selection                                                                     

      5                                                                              

                                                                               

 F3=Exit   F12=Cancel                                                          

                                                                               

D.       Ñ¡Ôñ6 , NEXT

                           Work with DST Environment                           

                                                            System:   12345678 

 Select one of the following:                                                  

                                                                                

      1. Active service tools                                                  

      2. System devices                                                        

      3. Service tools user profiles                                           

      4. System values                                                         

      5. Service tools device profiles                                         

      6. Service tools security data                                           

                                                                               

                                                                            

                                                                                

 Selection                                                                     

      6                                                                        

                                                                                

 F3=Exit   F12=Cancel                                                          

                                                                      

 

 

        

 

 

 

 

E.       Ñ¡Ôñ1 , NEXT

                        Work with Service Tools Security Data                  

                                                            System:   12345678 

 Select one of the following:                                                  

                                                                                

      1. Reset operating system default password                               

      2. Change operating system install security                              

      3. Work with service tools security log                                   

      4. Restore service tools security data                                   

      5. Save service tools security data                                      

      6. Password level                                                        

                                                                                

                                                                             

 Selection                                                                     

      1                                                                         

                                                                               

 F3=Exit   F12=Cancel                                                          

                                                                                

 

 

F.       NEXT

                   Confirm Reset of System Default Password                    

                                                            System:   12345678 

 Press Enter to confirm your choice to reset the operating                     

   system security officer sign-on password.  The password will                

   be reset to the default assigned when the system was shipped.               

 Press F12 to return to change your choice.                                     

                                                                               

                                                                               

                                                                                

                                                                           

 F12=Cancel                                                                    

 Operating system password override not in effect                              

 

G.       IPL

 

3.2.2.ϵͳ°²È«ÐÔ

ϵͳ°²È«ÐÔÊÇÓɲÙ×÷ϵͳÌṩµÄһϵÁб£»¤´ëÊ©¡£Ê¹ÏµÍ³¹ÜÀíÔ±Äܹ»±£»¤ºÍ¿ØÖÆϵͳÉ豸¡¢Êý¾Ý¡¢³ÌÐòµÈ×ÊÔ´µÄʹÓ㬲¢ÇÒÄܹ»·ÀֹżȻʹʻòÕßÐîÒâÆÆ»µµÄ·¢Éú¡£ÏµÍ³°²È«ÐԵĻù±¾ÄÚÈÝ°üÀ¨£º

¡¤                                                               ÎïÀí°²È«ÐÔ

¡¤                                                               °²È«¼¶±ð

¡¤                                                               Óû§ÌØÕ÷Îļþ£¨User Profile£©

¡¤                                                               Óû§¼¶±ð

¡¤                                                               Áª»ú°²È«£¨Sign On£©

¡¤                                                               ×ÊÔ´°²È«

3.2.2.1.ÎïÀí°²È«ÐÔ

ÎïÀí°²È«ÐÔÖ÷Òª±£»¤É豸¼°½éÖʲ»ÊÜËðÉ˺ÍÆÆ»µ¡£²ÉÈ¡µÄ´ëÊ©Ö®Ò»ÊÇ£¬ÔÚϵͳ¿ØÖÆ°åÉÏ£¬Ê¹ÓÃËø¿ª¹Ø¿ÉÒÔÏÞÖÆϵͳµÄʹÓá£Ëø¿ª¹Ø¹²ÓÐËĸöλÖãºÊÖ¶¯£¨Manual£©¡¢³£¹æ£¨Normal£©¡¢×Ô¶¯£¨Auto£©¼°°²È«£¨Secure£©¡£(¶ÔÓÚһЩÀϵĻúÐÍ»òÕßС»úÆ÷£¬ÓеÄûÓÐsecureÑ¡Ïî)

ϱíÏÔʾÿ¸öËøÁªÎ»ÖÿÉÒÔ×öÄÄЩ²Ù×÷:

   

²Ù       ×÷

ÊÖ ¶¯

³£ ¹æ    

×Ô ¶¯

°²È«

ÊÖ¶¯×°Èëϵͳ

¿É

·ñ

·ñ

·ñ

×Ô¶¯×°Èëϵͳ

¿É

¿É

·ñ

·ñ

ÊÖ¶¯¿ØÖƹ¦ÄÜ

¿É

·ñ

·ñ

·ñ

×Ô¶¯²Ù×÷ÈçÔËÐÐ IPL

·ñ

¿É

¿É

·ñ

ÖÕ¶ËÉÏÓùرÕϵͳÃüÁî

(PWRDWNSYS) ¹Ø±Õϵͳ

¿É

¿É

¿É

¿É

ÓõçÔ´¿ª¹Ø¸øϵͳϵç

¿É

·ñ

·ñ

·ñ

ÓõçÔ´¿ª¹Ø¸øϵͳÉϵç

¿É

¿É

·ñ

·ñ

ϵͳ³õʼ³ÌÐò×°Èë

¿É

·ñ

·ñ

·ñ

Ñ¡Ôñ×°È벻ͬµÄϵͳ

¿É

·ñ

·ñ

·ñ

Ö´ÐÐרÓ÷þÎñ¹¤¾ß¹¦ÄÜ

¿É

·ñ

·ñ

·ñ

×¢Ò⣺

½öÔÚ×°Èëϵͳʱ£¬Ñ¡Ôñ²»Í¬³õʼ³ÌÐò×°È뷽ʽ£¬»òÕßʹÓÃרÓù¤¾ßʱʹÓÃËøµÄÊÖ¹¤Î»Öá£ÉÏÊöËĸöλÖã¬Ô¿³×¿É´ÓËø¿×ÖÐÄóöÀ´£¬²¢ÇÒ±£³ÖËøµÄԭλ¡£Ñ¡ÔñÄãËùÒªÇóµÄλÖò¢ÇÒÄÃ×ßÔ¿³×¡£Îª·ÀÖ¹Óû§ÊÖ¶¯¸øϵͳϵ磬½¨Á¢½«ÐÎ×´¶¨ÔÚ¡°³£¹æ¡±Î»¡£

 

3.2.2.2.°²È«¼¶±ð

ÐÂ×° OS/400 ÊÇûÓпÚÁîºÍ×ÊÔ´°²È«µÄ¹ÜÀí¡£ÕâÒâζ×ÅÈκÎÓû§¿ÉÒÔʹÓÃÈκÎ×ÊÔ´¡£Òò´Ë£¬Óû§Ó¦¸ÃÊ×ÏÈͨ¹ýÃüÁî CHGSYSVAL »ò WRKSYSVAL ÐÞ¸Äϵͳֵ QSECURITY£¬ È»ºó×öÒ»´Îϵͳ³õʼ³ÌÐò×°È루IPL£©¡£

ϱí±È½ÏÁËϵͳµÄ²»Í¬°²È«¼¶±ð:

 

¹¦       ÄÜ

¼¶   ±ð

10

¼¶±ð

20

¼¶ ±ð

30

¼¶ ±ð

40

½øÈëϵͳÐèÒªÓû§Ãû

ÊÇ

ÊÇ

ÊÇ

ÊÇ

½øÈëϵͳÐèÒª¿ÚÁî

·ñ

ÊÇ

ÊÇ

ÊÇ

¼¤»î¿ÚÁȫ¹ÜÀí

·ñ

ÊÇ

ÊÇ

ÊÇ

¼¤»î×ÊÔ´°²È«¹ÜÀí

·ñ

·ñ

ÊÇ

ÊÇ

¼¤»î²Ëµ¥¼°³õʼ³ÌÐò°²È«¹ÜÀí

·ñ

ÊÇ

ÊÇ

ÊÇ

¿É´æÈ¡ÈκÎÄ¿±ê

ÊÇ

ÊÇ

·ñ

·ñ

Óû§ÌØÐÔÎļþ×Ô¶¯Éú³É

ÊÇ

·ñ

·ñ

·ñ

ÔÚϵͳ¼à²âÈÕÖ¾ÖмǼÄÇЩʹÓò»Ö§³ÖµÄ½çÃæÀ´´æÈ¡Ä¿±êµÄËùÓгÌÐò

ÊÇ

ÊÇ

ÊÇ

ÊÇ

ÔÚϵͳ¼à²âÈÕÖ¾ÖмǼÄÇЩ±»ÏÞÖƱàÒëµÄ³ÌÐòÖ¸Áî

ÊÇ

ÊÇ

ÊÇ

ÊÇ

ʹÓÃδ֧³ÖµÄ½çÃæÀ´´æÈ¡Ä¿±êµÄ³ÌÐòÔÚÔËÐÐʱʧ°Ü

·ñ

·ñ

·ñ

ÊÇ

×¢£ºV5R1ÒԺ󣬰²È«¼¶±ð10²»ÔÙÌṩ¡£¶ÔÓÚÓɵͰ汾Éý¼¶ÎªV5R1Ò»Ñù°æ±¾µÄϵͳ£¬½«±£ÁôÒÔÇ°µÄ°²È«¼¶±ð¡£

 

3.2.2.3.Óû§ÌØÕ÷Îļþ

    Óû§ÌØÕ÷Îļþ£¨*USRPRF£©ÊÇ°²È«¹ÜÀíµÄÒ»¸öÖØÒª²¿·Ö£¬ËüÊÇÓÃÀ´ÑéÃ÷Óû§ÊÇ·ñÄܽøÈëϵͳ£¬ÒÔ¼°½øÈëϵͳºó¿ÉÒÔʹÓÃÄÄЩϵͳ×ÊÔ´¡£Óû§ÌØÕ÷ÎļþÖ»ÄÜÓÉÓû§¼¶±ðΪ°²È«¹ÜÀí¹ÙÔ±£¨* SECOFR£©»ò°²È«¹ÜÀíÔ±£¨* SECADM£©µÄÓû§½¨Á¢»òÐ޸ģ¬Ê¹ÓÃÃüÁî CRTUSRPRF »ò CHGUSRPRF¡£Óû§ÌØÕ÷ÎļþÖаüº¬ÁËÓйØÓû§µÄËùÓвÙ×÷ÐÅÏ¢£¬Ö÷Òª¼¸ÏîÐÅÏ¢°üÀ¨£º

 

¡¤            USRPRF       ÌØÕ÷ÎļþÃû¼´Óû§±êʶ£¨USERID£©£¬³¤¶ÈΪ 10 ¸ö×Ö·û¡£

¡¤            PASSWORD   ¿ÚÁһ°ãÉèÖÃÓë * USRPRF Ò»Ñù£¬ÔÙÓÉÓû§×ÔÐÐÐ޸ģ¬³¤¶ÈΪ 10 ×Ö·û¡£          

¡¤            STATUS     ״̬£¬Ö»ÓÐÔÚ * ENABLED ״̬Ï£¬ÌØÕ÷Îļþ²ÅÉúЧ¡£

¡¤            USRCLS       5¸öµÈ¼¶:Óû§,ϵͳ²Ù×÷Ô±,³ÌÐòÔ±,°²È«¹ÜÀíÔ±ºÍ°²È«¹ÜÀí¹ÙÔ±                                               

¡¤            CURLIB         µ±Ç°¿â£¬Ö¸¶¨ÏµÍ³ËÑË÷Ä¿±êµÄµÚÒ»¸ö¿â¡£

¡¤            INLPGM     ³õʼ³ÌÐò£¬µ±½øÈëϵͳʱ£¬¿ÉÒÔÖ¸¶¨Ò»¸öÒªµ÷ÓõijÌÐòÃû¡£

¡¤            LMTCPB     ÏÞ¶¨ÄÜÁ¦£¬*YES Ñ¡Ôñ¿ÉÒÔÏÞÖÆÓû§Ê¹Óò˵¥ºÍÃüÁîÐеÄÄÜÁ¦¡£

¡¤            MSGQ           ÐÅÏ¢¶ÓÁУ¬È±Ê¡Öµ *USRPRF£¬Èç¹ûʹÓñðµÄÐÅÏ¢¶ÓÁУ¬ÔòÊÂÏÈÒª½¨Á¢¡£

¡¤            DLVRY          ÐÅÏ¢´«µÝ·½Ê½£¬¹²ÓÐËÄÖÖ£ºµ±ÐÅÏ¢¶ÓÁÐÊÕµ½ÐÅϢʱ£¬*NOTIFY ×÷Òµ±»Ìáʾ; *BREAK

                   ×÷Òµ±»ÖжÏ; *HOLD ÐÅÏ¢±»¹ÒÆð; *DFT »Ø´ðÐÅϢʹÓÃȱʡֵ¡£

¡¤            OUTQ           Êä³ö¶ÓÁУ¬×îºÃÿ¸öÓû§Ö¸¶¨Ò»Êä³ö¶ÓÁÐ,ÐèÒªÊÂÏȽ¨Á¢¡£

 

3.2.2.4.Óû§¼¶±ð

     Óû§¼¶±ð¾ö¶¨Óû§ÄÜʹÓÃÄÄЩ¿ØÖƹ¦ÄܺͲ˵¥Ñ¡Ôñ¡£

     ϱíÏÔʾϵͳȱʡÌØÊâȨÏÞ¡£

    

Special Authority for Level 30 or above

User Class  ALLOBJ  SECADM  SAVSYS  JOBCTL  SERVICE  SPLCTL

SECOFR

  5

  5                 

    5 

  5

   5                

  5

SECADM

 

  5

    5              

  5

 

 

PGMR

 

 

    5

  5

 

 

SYSOPR

 

 

    5

  5

 

 

USER

  NO                 

special 

 authority

 

 

 

 

   ÆäÖУº

       * ALLOBJ     ÓÐȨʹÓÃËùÓеÄϵͳĿ±ê¡£

* SECADM ÓÐȨʹÓð²È«¹ÜÀí¹¦ÄÜ£¬½¨Á¢ºÍÐÞ¸ÄÓû§

                    ÌØÕ÷Îļþ¡£

* SAVSYS ÓÐȨʹÓñ¸·ÝºÍ»Ö¸´¹¦ÄÜ¡£

* JOBCTL ÓÐȨʹÓÃ×÷Òµ¿ØÖƹ¦ÄÜ£¬°üÀ¨Êä³ö¶ÓÁС¢

                    ´òÓ¡ºÍ×Óϵͳ¡£

* SERVICE    ÓÐȨʹÓ÷þÎñ¹¦ÄÜ¡£

       * SPLCTL     ÓÐȨʹÓüÙÍÑ»ú¿ØÖÆ¡£

 

3.2.2.5.Áª»ú°²È«

     Óû§µÇ¼ϵͳ£¬±ØÐëÔÚÁª»ú£¨Sign On£©»­ÃæÉÏ£¬ÊäÈëÕýÈ·µÄÓû§±êʶºÍ¿ÚÁî¡£Áª»ú»­ÃæÉÏ»¹¿ÉÒÔÖ¸¶¨µ÷ÓõijÌÐòÃû¡¢²Ëµ¥ÃûºÍµ±Ç°¿âÃû¡£Ð޸ĿÚÁîʹÓÃÃüÁî CHGPWD¡£

     ×¢²áϵͳʱ£¬ÓйؿÚÁîµÄÏÞÖÆ£¬ÔÚϵͳÖоßÓжàÏî˵Ã÷£¨È«²¿¾ßÓÐ SEC ÀàÐÍ£©£º

 

¡¤          QLMTDEVSSN£º           ¾ö¶¨Óû§ÊÇ·ñ¿ÉÒÔÔÚ¶à¸öÖÕ¶ËÉϵǼ¡£

¡¤          QMAXSIGN£º        ¾ö¶¨Óû§ÎÞЧµÇ¼µÄ×î´ó´ÎÊý£¬×î´óΪ

                          *NOMAX¡£

¡¤          QMAXSGNACN£º           µ±ÎÞЧµÇ¼´ïµ½×î´ó´ÎÊýʱ£¬ÏµÍ³Ó¦²ÉÈ¡µÄ

                          Ðж¯£¬Ê¹É豸»òÓû§ÌØÕ÷Îļþ»òÁ½Õß±äΪÎÞ

                          Ч¡£

¡¤          QPWDEXPITV£º           ¾ö¶¨¿ÚÁîÓÐЧµÄ×î´óÌìÊý£¬×î´óΪ

                           *NOMAX¡£

¡¤          QPWDMINLEN£º           ¾ö¶¨¿ÚÁîÖÐ×Ö·ûµÄ×îС¸öÊý¡£

¡¤          QPWDMAXLEN£º           ¾ö¶¨¿ÚÁîÖÐ×Ö·ûµÄ×î´ó¸öÊý¡£

¡¤          QPWDRQDDIF£º           ¾ö¶¨Ð¿ÚÁîÊÇ·ñ²»Í¬ÓÚÇ°¼¸¸ö¿ÚÁî¡£

 

 

 

3.2.2.6.×ÊÔ´°²È«

   ×ÊÔ´°²È«¹ÜÀíÖ÷ÒªÕë¶ÔϵͳĿ±ê¶øÑÔ£¬±£Ö¤Ö»ÓÐÊÚȨÓû§²Å¿ÉÒÔʹÓá£Èç¿â¡¢Îļþ¡¢³ÌÐò¡¢É豸µÈ¡£

   ϵͳȨÏÞ·ÖΪÁ½¸öÖ÷ÒªÀàÐÍ£ºÌØÊâȨÏÞºÍÖ¸¶¨È¨ÏÞ¡£ÌØÊâȨÏÞÊÇÓÉÓû§ÌØÕ÷ÎļþÀ´¶¨ÒåµÄ£»Ö¸¶¨È¨ÏÞÔòÔÊÐíÓû§¶ÔϵͳĿ±êÖ¸¶¨²Ù×÷¡£Ö¸¶¨È¨ÏÞʹÓÃÃüÁ  GRTOBJAUT  À´ÊÚȨ£¬Ê¹Óà RVKOBJAUT À´ÊÕ»ØȨÏÞ£¬»òÕßʹÓÃÃüÁî EDTOBJAUT ±à¼­È¨ÏÞ¡£

   ÏÂͼ´óÖ±íʾϵͳÖÐȨÏÞµÄÀàÐÍ£º(ͼ»­µÄ²»ºÃÇë¼ûÁÂ!:))

        System

                        Authority

 

 


 Special                                Private               *EXCLUDE

                                                                                                  

*ALLOBJ

                   User-Defined                   System          

*SECADM                                         Defined 

                                                 

*all

 
           *SAVSYS                                                                                                             L

           *JOBCTL        Object            Data                   

                          Authority        Authority                *CHANGE     

           *SERVICE                                         

                                                                 *USE  

           *SPLCTL          *OBJOPR             *READ

                           *OBJMGT            *ADD

 

                             *OBJEXIST            *UPD

                             *AUTLMGT           *DLT     

 

Óû§¶¨ÒåµÄȨÏÞ¼¯°üÀ¨£º

 

l         Ä¿±êȨÏÞ

* OBJOPR ²Ù×÷ȨÏÞ£¬ÔÊÐí²ì¿´Ä¿±êÃèÊö£»

* OBJMGT ¹ÜÀíȨÏÞ£¬ÔÊÐí¶¨ÒåÄ¿±ê°²È«È¨ÏÞ£¬ÖØÃüÃûÄ¿

             ±ê£¬ÒÔ¼°Ôö¼ÓÊý¾Ý¿âÎļþ³ÉÔ±£»

* OBJEXIST   ´æÔÚȨÏÞ,ÔÊÐí¿ØÖÆÄ¿±ê´æÔÚ,ɾ³ýÄ¿±ê,ÊÍ·Å¿Õ¼ä,

              ±¸·Ý¼°»Ö¸´¡£

* AUTLMGT ȨÏÞ±í¹ÜÀí¡£ÔÊÐíÔÚÒ»¸öȨÏÞ±íÉÏÔö¼ÓºÍɾ³ý

              Óû§¼°ÆäȨÏÞ¡£

 

 

 

 

l         Êý¾ÝȨÏÞ

 

* READ       ¶ÁȨÏÞ£¬ÔÊÐíÏÔʾĿ±êÄÚÈÝ»òÔËÐÐÒ»¸ö³ÌÐò£»

* ADD    Ôö¼ÓȨÏÞ£¬ÔÊÐí¶ÔÄ¿±êÔö¼ÓÏîÄ¿;

* UPD    ÐÞ¸ÄȨÏÞ£¬ÔÊÐíÐÞ¸ÄÄ¿±êÖеÄÏîÄ¿£»

* DLT        ɾ³ýȨÏÞ£¬ÔÊÐí´ÓÄ¿±êÖÐɾ³ýÏîÄ¿¡£

 

ϵͳ¶¨ÒåµÄȨÏÞ¼¯°üÀ¨£º

 

* ALL        Ìṩ¶ÔÄ¿±êµÄËùÓÐÄ¿±êȨÏÞºÍÊý¾ÝȨÏÞ£»

* CHANGE Ìṩ¶ÔÄ¿±êµÄ²Ù×÷ȨÏÞºÍËùÓÐÊý¾ÝȨÏÞ£»

* USE    Ìṩ¶ÔÄ¿±êµÄ²Ù×÷ȨÏÞºÍÊý¾Ý¶ÁȨÏÞ£»

* EXCLUDE ¾Ü¾ø¶ÔÄ¿±êµÄÈκηÃÎʺͲÙ×÷¡£

              

               ϱíÏÔʾϵͳ¶¨ÒåÓëÓû§¶¨ÒåÖ®¼äµÄ¹Øϵ¡£

System-Defined Authority

 

 

 

Authority

Object

OPR

          

  MGT    

        

EXIST 

Data

READ

  

ADD

 

UPD

 

 DLT

*ALL

   5

    5

  5

   5

   5

   5

  5

*Change

   5

 

 

   5

   5

   5

  5

*Use

   5

 

 

   5

 

 

 

*Exclude

   No

 authority

 

 

 

 

 

 

                  

         

3.2.3.Êý¾Ý±¸·Ý

AS400×Ô¶¯±¸·ÝÉèÖ÷½·¨

µÚÒ»²½£ºµÇ½AS/400Ö÷»ú

µÚ¶þ²½£º²é¿´±¸·Ý½á¹û£¨¸Ã²½·Ç³£ÖØÒª£¬ÓÃÓÚÈ·¶¨±¸·ÝÊÇ·ñ³É¹¦£©

ÔÚÃüÁîÐÐÊäÈëWRKSPLFÃüÁîºóµã»÷£¨ENTER»òCTRL£©£¬´ËÃüÁîÊDz鿴±¸·ÝÎļþµÄ´òÓ¡½á¹û¡££¨Ö»Óе±Ìá½»±¸·ÝÃüÁîʱ²ÎÊý outputÑ¡Ôñ*printʱ£¬²Å»áÔÚSPLFÖвúÉú¸Ã½á¹û£©

µÚÈý²½£º²é¿´´òÓ¡ÄÚÈÝ£¬Èç¹ûÎļþÒ³ÊýºÜ¶à¿ÉÒÔÓÃPAGEUP¡¢PAGEDOWN½øÐз­Ò³µÄ²Ù×÷£¬

        ÔÚ×îÏÂÃæµÄÎļþÊÇ×îÐÂÉú³ÉµÄ£¬°´F11¿ÉÒÔ¿´±¸·Ýʱ¼ä£¬ÕÒµ½Ò»¸öÎļþÊÇ

QPSAVOBJ    05/12/04  23:30:00     13       1   *STD

        ÓÃ5½øÈ¥²é¿´£¬ÔÚÎļþµÄÇ°ÃæÊäÈë5ºó°´£¨ENTER»òCTRL£©½øÈëÃ÷ϸÄÚÈÝ¡£

µÚËIJ½£ºÔÚ½øÈë´òÓ¡Îļþºó£¬×¢Òâ¿´Ò»ÏÂÈÕÆÚÊÇ·ñÊÇ×î½ü±£´æµÄ¼Ç¼£¬ÔÚÒ³ÃæÉÏ·½µÄCONTROLºóÃæµÄºáÏßÉÏÊäÈëB£¨B±íʾҪµ½ÎļþµÄ×îºó£»T±íʾҪµ½ÎļþµÄ¿ªÍ·£©¡£

×¢Ò⣺Ҫ¿´¿´NOT SAVEDµÄÎļþÊÇ·ñÊÇ0»òÕßÊÇ3£¬Èç¹ûÊǶþÕßÖ®Ò»¶¼ÊÇÕýÈ·µÄ£¨ÒòΪ±¸·Ý³ÌÐòÓÐ3¸ö´ò°üÎļþ£¬±£´æºÍ²»±£´æ¶¼ÊÇÕýÈ·µÄ£©Èç¹û´óÓÚ3¾ÍÊÇÓÐÎÊÌâ¡£

             Library ------Objects------         File                  File 

 Library      Saved   Saved   Not saved  Volume  Label           Seque 

 ERP        YES     635       0      CASE4   ERP                       

                          * * * * *   E N D   O F   L I S T I N G   * * *  

 

¿´ÍêÃ÷ϸÄÚÈݺó°´F3Ò»Ö±Í˵½Ö÷»­Ãæ¡£

µÚÎå²½£º¼Æ»®Åú´¦ÀíÈÎÎñ

ÔÚÖ÷»­ÃæµÄÃüÁîÐÐÉÏÊäÈëWRKJOBSCDEºó°´£¨ENTER»òCTRL£©

 

µÚÁù²½£º½øÈëʱ¼ä±íºóÔÚDAILYBAKÎļþµÄÇ°ÃæÊäÈë2×¼±¸½øÐÐÐ޸ģ¬»òÕß°´F6°´¼üÌí¼ÓÒ»¸öеÄ×÷Òµµ÷¶ÈÈÎÎñ¡££¨DAILYBAKΪ²âÊÔÓõĵ÷¶È×÷ÒµÃû£©

µÚÆß²½£ºÔڼƻ®Ê±¼äµÄºóÃæÐÞ¸Äʱ¼ä£¬¸Ä³ÉÒª±¸·ÝµÄÈÕÆÚºÍʱ¼ä¡£

Schedule date, or  . . . . . . .   '05/13/04'   £¨¸ñʽÊÇÔÂ/ÈÕ/Ä꣩

Schedule day . . . . . . . . . .   *NONE       

                + for more values               

Schedule time  . . . . . . . . .   '23:30:00'  

¸ÄÍêºó°´£¨ENTER»òCTRL£©±£´æÍ˳ö¡£Í˳öºó¿´DAILYBAKÊÇ·ñ±£´æ³É¹¦£¬Èç¹ûSTATUSÊÇSCD£¬²¢ÇÒÈÕÆÚÊÇÐèÒª±¸·ÝµÄÈÕÆÚ¾ÍÊDZ£´æ³É¹¦ÁË¡£                                                                     

                              -----Schedule------           Recovery  Submit  

 Opt  Job       Status  Date       Time      Frequency   Action   Date    

 DAILYBAK     SCD  05/13/04    23:30:00  *ONCE     *SBMRLS 05/13/04

È·Èϱ¸·Ý×÷ÒµÊÇÕýÈ·µÄ²¢ÇÒÒѾ­±£´æ³É¹¦ºóÔÙ°´F3Ö±µ½Í˵½Ö÷»­Ãæ¡£

µÚ°Ë²½£º¶ÔÓÚеĴŴø£¬±¸·ÝÇ°ÐèÒª³õʼ»¯´Å´ø

ÃüÁ inztap

 

µÚ¾Å²½£ºÔÚ´ËÆÁÖеÄÐÅÏ¢±ØÐëÑϸñ°´ÒÔϵÄÄÚÈÝÌîд

Device . . . . . . . . . . . . .   tap01         Name                        

New volume identifier  . . . . . case5         Character value, *NONE...   

New owner identifier . . . . . .  case5                                       

Volume identifier  . . . . . . .   *MOUNTED      Character value, *MOUNTED   

Check for active files . . . . .   *no           *YES, *NO, *FIRST           

Tape density . . . . . . . . . .   *qic4gb       *DEVTYPE, *CTGTYPE, *QIC120..

Code . . . . . . . . . . . . . .   *EBCDIC       *EBCDIC, *ASCII             

End of tape option . . . . . . .   *REWIND       *REWIND, *UNLOAD            

Clear  . . . . . . . . . . . . .   *NO           *NO, *YES                    

ÒÔÉÏÔÚidentifierºóÌîдµÄCASE5ÖеÄ5´ú±íµÄÊÇÐÇÆÚÎåµÄ±¸·Ý´ø¡£

ÌîдÕýÈ·ºó°´£¨ENTER»òCTRL£©È·ÈÏ£¬ÐèÒªµÈÒ»»á£¨´óÔ¼3·ÖÖÓ£©ºó³öÏÖÒ»¸öÏûÏ¢£¬

Volume CASE5 prepared for operation with owner ID CASE5 ±íʾ´Å´øÒѾ­¸ñʽ»¯Íê³É¡£

µÚÊ®²½£ºÔÚÖ÷»­ÃæÔÚµÄÃüÁîÐÐÉÏÊäÈë90£¨±íʾÍ˳ö£©°´£¨ENTER»òCTRL£©ºóÍ˳öAS400¡£

 

µÚʮһ²½£ºÈç¹ûÔÚÆÁÄ»²Ù×÷Öйâ±êûÓÐÔÚOPTµÄλÖÃÉϾͰ´ÁË5£¨DISPLAY£©

        »òÕß2£¨CHANGE£©£¬ÆÁÄ»Õâʱ»á±»ËøËÀ£¬ÆÁÄ»µÄ×óϽǻá³öÏÖºìÉ«µÄ0005·ûºÅ£¨ÔÚÆäËûµÄ´íÎó²Ù×÷ʱҲ»á³öÏÖºìÉ«µÄ0005·ûºÅ£©£¬Õâʱ±ØÐë°´¿ØÖÆ̨¼üÅÌ×óÏ ½ÇµÄRESET£¨QUIT£©¼ü²Å¿ÉÒÔ»Ö¸´²Ù×÷¡£

 

 

 

 

3.2.4.ÐÔÄܹÜÀí

3.2.4.1.AS/400ÉϵÄFTP

FTPÊÇÈçºÎ¹¤×÷µÄ

FTPÊÇ»ùÓÚ¿Í»§£­·þÎñÆ÷Ä£ÐͶøÉè¼ÆµÄ¡£¿Í»§ºÍ·þÎñÆ÷Ö®¼äÀûÓÃTCPÖ±½ÓÁ¬½Ó¡£ÓëÆäËü¿Í»§£­·þÎñÆ÷Ä£ÐͲ»Í¬µÄÊÇ£ºFTP¿Í»§Óë·þÎñÆ÷Ö®¼äÊÇÒª½¨Á¢Ë«ÖØÁ¬½Ó£ºÒ»¸öÊÇ¿ØÖÆÁ¬½Ó£¬Ò»¸öÊÇÊý¾ÝÁ¬½Ó¡£½¨Á¢Ë«ÖØÁ¬½ÓµÄÔ­ÒòÔÚÓÚFTPÊÇÒ»¸ö½»»¥»á»°ÏµÍ³£¬Ä³¿Í»§Ã¿´Îµ÷ÓÃFTP£¬±ãÓë·þÎñÆ÷½¨Á¢Ò»¸ö»á»°£¬»á»°ÒÔ¿ØÖÆÁ¬½ÓÀ´Î¬³Ö£¬Ö±µ½Í˳öFTP¡£¿ØÖÆÁ¬½Ó¸ºÔð´«Êä¿ØÖÆÐÅÏ¢£¬ÓÈÆäÊÇ¿Í»§¿Í»§ÃüÁ±ÈÈçÎļþ´«ÊäÃüÁîµÈµÈ£©¡£ÀûÓÿØÖÆÃüÁ¿Í»§¿ÉÒÔÏò·þÎñÆ÷Ìá³öÎÞÊý´ÎµÄÇëÇó£¨Ò»¸ö¿Í»§ÃüÁî¾ÍÊÇÒ»¸öÇëÇ󣩡£¿Í»§Ã¿Ìá³öÒ»¸öÇëÇ󣬷þÎñÆ÷ÔÙÓë¿Í»§½¨Á¢Ò»¸öÊý¾ÝÁ¬½Ó£¬½øÐÐʵ¼ÊµÄÊý¾Ý£¨±ÈÈçÎļþ£©´«Êä¡£Ò»µ©Êý¾Ý´«ÊäÍê³É£¬Êý¾ÝÁ¬½Ó»á»°¾Í±»³·Ïú£¬µ«¿ØÖÆÁ¬½ÓÒÀÈ»´æÔÚ£¬¿Í»§¿ÉÒÔ¼ÌÐø·¢³öÃüÁî¡£Ö±µ½ÀμǼüÈëCLOSEÃüÁî³·Ïú¿ØÖÆÁ¬½Ó£¬ÔÙ¼üÈëQUITÍ˳öFTP»á»°¡£´Ëʱ˫·½¿ØÖƽø³Ì¾Í²»ÔÙ´æÔÚÁË¡£

FTPÁ¬½ÓµÄ½¨Á¢

ÔÚÒ»¸öFTP»á»°ÖУ¬ÐèÒª½¨Á¢Ò»¸ö¿ØÖÆÁ¬½ÓºÍÈô¸É¸öÊý¾ÝÁ¬½Ó¡£

½¨Á¢¿ØÖÆÁ¬½ÓµÄ¹ý³Ì´ó¼Ò¶¼ºÜÊìϤ¡£FTP·þÎñÆ÷µÄ¹«È϶˿ÚÊÇ21¡£¿Í»§¿ØÖƽø³ÌÉêÇëÒ»¸öËæ»ú·ÖÅäµÄ±¾µØ¶Ë¿Úºó£¬Óó£¹æµÄ·½·¨¿ÉÒÔÓë·þÎñÆ÷¶Ë¿Ú21½¨Á¢Ò»¸öÁ¬½Ó¡£

Êý¾ÝÁ¬½ÓµÄ½¨Á¢¾ÍûÓÐÄÇô¼òµ¥ÁË¡£ÔÚ½¨Á¢Êý¾ÝÁ¬½ÓµÄ¹ý³ÌÖУ¬¿Í»§¿ØÖƽø³Ì·´¿ÍΪÖ÷£¬³ÉΪÁ¬½ÓµÄ½ÓÊÕÕߣ¬¶ø·þÎñÆ÷Êý¾Ý´«Êä½ø³Ì³ÉÁËÁ¬½ÓµÄÇëÇóÕß¡£×÷Ϊһ¸öеÄ×Ó½ø³Ì£¬·þÎñÆ÷´«Êä½ø³Ì¿ÉÒÔÉêÇëÒ»¸öеĶ˿ںÅÀ´½¨Á¢×Ô¼ºµÄÏà¹ØÁ¬½Ó£¨Ò»°ãÊÇÀûÓÃFTPµÄ±£Áô¶Ë¿ÚºÅ20£©£¬¶øËüÏòÄĸö¿Í»§¶Ë¿Ú·¢ËÍÁ¬½ÓÇëÇóÄØ£¿ÒªÖªµÀ¿Í»§ÊÇûÓй«È϶˿ڵģ¬Õâʱ¾ÍÒªÀûÓõ½¿ØÖÆÁ¬½Ó£¬¿Í»§¿ØÖƽø³Ìͨ¹ý¿ØÖÆÁ¬½Ó¸æÖª·þÎñÆ÷½ø³Ì×Ô¼ºµÄÊý¾ÝÁ¬½Ó¶Ë¿ÚºÅ£¬·þÎñÆ÷¿ØÖƽø³Ì½«Ëüת¸æ×Ô¼ºµÄÊý¾Ý´«Êä½ø³Ì£¬·þÎñÆ÷Êý¾Ý´«Êä½ø³Ì±ã¿ÉÒÔÀûÓÃËüÓë¿Í»§½¨Á¢Êý¾ÝÁ¬½Ó¡£

 

FTPÃüÁ

¡°!¡±»òÕß¡°*SYSCMD¡±:Óû§¿ÉÒÔÔÚFTPģʽÖÐÖ´Ðб¾µØAS/400µÄÃüÁî¡£ÔÚʵ¼Ê¹¤×÷ÖУ¬ÕâÒ»ÃüÁî·Ç³£ÓÐÓã¬Äã²»ÓÃÍ˳öFTPģʽ¾Í¿ÉÒÔÖ±½ÓÖ´Ðб¾µØAS/400µÄÃüÁî¡£

¡°DIR¡±£ºÁгöÔ¶³ÌAS/400ij¸öĿ¼ÖеÄFILESºÍMEMBERS¡£ÈôÄãÖ´ÐÐÁË¡°PUT¡±²Ù×÷£¬Óá°DIR¡±ÃüÁî²é¿´ÊÇ·ñ½«Îļþ´«µ½ÁËÔ¶³ÌAS/400ÖС£

¡°PWD¡±£ºÁгöÔ¶³ÌϵͳµÄµ±Ç°Ä¿Â¼ÖеÄFILESºÍMEMBERS¡£

¡°LPWD¡±£ºÁгö±¾µØϵͳµÄµ±Ç°¹¤×÷Ŀ¼ÖеÄFILESºÍMEMBERS¡£

¡°PUT¡±£º½«Îļþ´Ó±¾µØϵͳ·¢Ë͵½Ô¶³Ìϵͳ¡£

¡°MPUT¡±£º½«¶à¸öÎļþ´Ó±¾µØϵͳ·¢Ë͵½Ô¶³Ìϵͳ¡£

¡°GET¡±£º´ÓÔ¶³Ìϵͳ´«Îļþµ½±¾µØϵͳ¡£

¡°MGET¡±£º´ÓÔ¶³Ìϵͳ´«¶à¸öÎļþµ½±¾µØϵͳ¡£

¡°ASCII¡±£º¸Ä±äµ½ASCIIģʽ¡£

¡°BINARY¡±£º¸Ä±äµ½BINARYģʽ¡£

¡°EBCDIC¡±£º¸Ä±äµ½EBCDICģʽ¡£

 

Ìرð×¢Ò⣺½«º¬ÓÐÊýÖµÀàÐ͵ÄÎļþ´ÓAS/400·¢Ë͵½ASCIIϵͳʱ£¬Ó¦½«ÎļþÖеÄÊýÖµ×ֶθÄΪZONEDÀàÐÍ£¬¶ø²»ÊÇPACKEDÀàÐÍ£¬·ñÔò½«·¢Éú²»¿ÉÔ¤²âµÄ½á¹û¡£

¡°RENAME¡±£º¸ü¸ÄÔ¶³ÌϵͳÖеÄÎļþÃû¡£

¡°QUOTE¡±£ºÖ´ÐÐÔ¶³Ì·þÎñÆ÷¶ËµÄÃüÁî¶ø²»ÓÃÖØеǼԶ³Ìϵͳ¡£

¡°LCD¡±£º¸Ä±ä±¾µØϵͳµÄµ±Ç°Ä¿Â¼¡£

¡°CD¡±£º¸Ä±äÔ¶³ÌϵͳµÄµ±Ç°Ä¿Â¼¡£

¡°CDUP¡±£º½øÈëÔ¶³ÌϵͳµÄ¸¸Ä¿Â¼¡£

¡°LOCSTAT¡±£ºÏÔʾ±¾µØ״̬ÐÅÏ¢¡£

 

ÅäÖÃAS/400¡¡FTP·þÎñÆ÷

Óû§ÒªÅäÖÃAS/400 FTP·þÎñÆ÷ÖУ¬ÐèÒªÓÐ*IOSYSCFGÌØȨ¡£

A¡¢ÅäÖÃTCP/IP¡£

B¡¢ÐÞ¸ÄFTPÊôÐÔ¡£¡¡ÃüÁîÊÇCHGFTPA£¨¶ÔQUSRSYS/QATMFTP.CONFIGÊý¾Ý¿âÎļþ½øÐÐÐ޸ģ©¡£

Ö÷Òª²ÎÊý˵Ã÷£º

Autostart Servers :  µ±Autostart ServersΪ*YESʱ£¬Ò»µ©TCP/IPÆô¶¯£¬FTP·þÎñÆ÷Ò²½«×Ô¶¯Æô¶¯¡£

Number of Initial Servers:  FTP·þÎñÆ÷³õʼÆô¶¯ÊýÁ¿¡£¸ù¾ÝFTPµÄÁ÷Á¿¶ø¶¨£¬³õʼֵΪ3Ò»°ã¾Í×ã¹»ÓÃÁË¡£

Inactivity Timeout:  Ö¸³öFTP¿Í»§¶ËÓë·þÎñÆ÷¶ËÔÚ¶àÉÙÃëûÓн»»¥ºó£¬Á¬½Ó½«×Ô¶¯¶Ï¿ª¡£È±Ê¡ÖµÎª300Ã루5·ÖÖÓ£©¡£

Coded character set identifyier:¡¡È±Ê¡ÖµÎª00819,ËùÓб»´«ÈëµÄASCII×Ö·û½«±»·­Òë³ÉEBCDIC 500´úÂëÒ³¡£Ò²¿ÉÒÔÖƶ¨Äã×Ô¼ºµÄת»»±í¡£

Initial name format:  ȱʡֵΪ*LIBL£¬½«ËùÓÐFTP·þÎñÆ÷µÄÃüÃûÐÎʽÉèΪNAMEFMT£½0£»Èô´ËֵΪ*PATH£¬ÔòNAMEFMT=1¡£

Initial directory:  ȱʡֵΪ*CURLIB£¬ÒԵǼFTP·þÎñÆ÷µÄÓû§µÄµ±Ç°Ä¿Â¼ÎªFTP»á»°µÄµ±Ç°Ä¿Â¼£»Èô´ËֵΪ*HOMEDIRʱ£¬FTP»á»°µÄĿ¼ÒÔÓû§¼òÒª±íµÄHOMEDIR²ÎÊýΪ׼¡£

New file CCSID:¡¡Ö¸¶¨Óû§FTP´´½¨ÎļþµÄCCSIDÖµ¡£

 

Æô¶¯ÓëÍ£Ö¹FTP·þÎñÆ÷

¡¡¡¡¡¡¡¡ÊÖ¹¤Æô¶¯FTP·þÎñÆ÷£¬ÔÚAS/400ÃüÁîÐÐÊäÈ룺

STRTCPSVR *FTP

        ÊÖ¹¤Í£Ö¹ËùÓÐFTP·þÎñÆ÷£¬ÔÚAS/400ÃüÁîÐÐÊäÈ룺

ENDTCPSVR *FTP

×¢Ò⣺

ÒòΪֱ½ÓÓÃENDTCPSVR *FTPÃüÁîÍ£Ö¹FTP·þÎñÆ÷£¬Óû§¿ÉÄܻᶪʧÊý¾Ý£¬ÎªÁ˱£Ö¤Óû§²»¶ªÊ§Êý¾Ý£¬Ó¦¸Ã°´ÕÕÒÔϲ½Öè½øÐд¦Àí£º

A¡¢ÔÚAS/400µÄÃüÁîÐÐÊäÈ룺

WRKACTJOB SBSD(QSYSWRK)

²éÕÒÊÇ·ñÓÐQTFTPxxxxx(xxxxx´ú±í5λÊý×Ö)´æÔÚ£¬ÈôûÓУ¬Ôò¿ÉÒÔÖ´ÐÐENDTCPSVR *FTPÃüÁÈôÓУ¬ÔòºÚÐÄ×öÏÂÒ»²½¡£

B¡¢È·±£Ã»ÓÐÓû§µÇ¼FTP·þÎñÆ÷¡£ÔÚAS/400µÄÃüÁîÐÐÊäÈ룺

NETSTAT *CNN

²éÕÒÊÇ·ñÓÐLOCAL PORTΪ FTP-CON״̬ΪESTABLISHEDµÄÁ¬½Ó´æÔÚ£¬ÈôûÓÐÔò¿ÉÒÔÖ´ÐÐÏÂÒ»²½£»ÈôÓУ¬Ó¦¸ÃµÈµÈÓû§µÄFTP½áÊøºóÔÙÖ´ÐÐÏÂÒ»²½¡£

C¡¢ÔÚAS/400µÄÃüÁîÐмüÈ룺

ENDTCPSVR *FTP

Åú·½Ê½FTP

¡¡¡¡¡¡¡¡FTP±»Éè¼ÆΪ½»»¥Ê½TCP/IPÓ¦Ó㬵«AS/400Ò²Ö§³ÖFTPÅú´¦Àí·½Ê½¡£

¡¡¡¡¡¡¡¡FTPÅú´¦Àí·½Ê½Ó¦¸Ã°´ÕÕÈçϲ½ÖèÀ´½øÐУº

3.2.5        ´´½¨Ò»¸öCL³ÌÐòÀ´Æô¶¯FTP¡£

3.2.5        ´´½¨Ò»¸öº¬ÓÐËùÓн»»¥·½Ê½FTPÃüÁîµÄÔ´ÎïÀíÎļþµÄ³ÉÔ±¡£

3.2.5        Ìá½»Åú×÷ÒµÔËÐÐÕâ¸öCL³ÌÐò¡£

3.2.5        ¼ì²é½á¹û¡£

 

3.2.4.2.ÈçºÎʹÓÃFTPÔÚPCºÍAS/400Ö®¼ä´«Êä°üº¬ÖÐÎĵÄÎļþ

ÓÉÓÚPCʹÓÃASCII±àÂë, ¶øÔËÐÐOS/400µÄAS/400ʹÓÃEBCDIC±àÂë, ËùÒÔÔÚÁ½¸ö²»Í¬±àÂëµÄ²Ù×÷ϵͳ֮¼ä»¥Ïà´«ËÍÎļþ, ¾ÍÉæ¼°µ½Îļþ±àÂëµÄÎÊÌâ. Èç¹ûÒª´«ÊäµÄÎļþÓÖ°üº¬ÖÐÎÄ, ÄÇôϵͳÓÖÒª×ö²»Í¬µÄתÂë´¦Àí.

 

A. ´ÓPCÍùAS/400ËÍÎļþ:(PC --> Client, AS/400 --> Server)

ʾÀý: ½«PCÉÏe:\tempĿ¼ÏµÄÎļþtest.file(°üº¬ÖÐÎÄ), ´«Ë͵½AS/400ÉϵĿâTESTLIBÖÐ

* ÔÚWindowsÖÐÔËÐÐDOS´°¿Ú;

* ftp as400-ip-address;

* ÊäÈëÓû§ÃûºÍÃÜÂë;

* quote site namefmt 1

* cd /qsys.lib/testlib.lib

* lcd e:\test

* bin

* quote type c 1381

* put test.file

 

B. ´ÓAS/400ÍùPCËÍÎļþ:(PC --> Server, AS/400 --> Client)

ʾÀý: ½«AS/400ÉÏ¿âTESTLIBϵÄÎļþtest.file(°üº¬ÖÐÎÄ), ´«Ë͵½PCÉϵÄĿ¼e:\tempÖÐ

* ÔÚAS/400ÃüÁîÐÐÊäÈë: ftp 'pc-ip-address'

* ÊäÈëÓû§ÃûºÍÃÜÂë;

* cd e:\temp

* namefmt 1

* lcd /qsys.lib/testlib.lib

* bin

* ltype c 1381

* put testas.file

3.2.5       ²Ù×÷ϵͳ°²×°·½·¨

×¢£ºÒÔÏÂÊÇOS/400µÄ°²×°¹ý³Ì¡£ÒÔ°²×°OS/400 V5R1ΪÀý¡£

 

µÚÒ»²½£º°²×°ÄÚÂ루´óÔ¼ÐèÒª1µ½1.5¸öСʱ£©

¡¡¡¡½«»úÆ÷Æô¶¯·½Ê½µ÷Ϊ01DM£¬¼´´Ó¹âÇý£¨´Å´ø»úÖв»Òª·Å´Å´ø£©ÊÖ¶¯Æô¶¯¡£

¡¡¡¡  ˵Ã÷¡ª¡ªÆô¶¯·½Ê½£º¡¡¡¡A£º´ÓÓ²Å̺ÍÓÀ¾ÃPTFÇøÆô¶¯£»B:´ÓÓ²Å̺ÍÁÙʱPTFÇøÆô¶¯£»D:´Ó¹âÇýÆô¶¯

¡¡  ÔÚ¹âÇýÖзÅÈë¹âÅÌI£ßBASE£ß01£¬ÌØÐíÄÚÂëÅÌ¡£

ÔÚLANGUAGE FEATURE´¦Ìî2984£¬ÇÃÖ´Ðмü£¬ÔÚ Confirm Language GroupÆÁÄ»³öÏÖʱ£¬ÇÃÖ´Ðмü£¬È·ÈÏÄãÑ¡ÔñµÄÓïÑÔ2984£¨Ö§³ÖË«×Ö½Ú×Ö·û¼¯µÄÓ¢ÎÄ£©¡£

ÔÚInstall Licensed Internal Code²Ëµ¥ÆÁÄ»ÉÏÑ¡Ôñ

1--Install Licensed Internal Code£¬È»ºóÇÃÖ´Ðмü¡£

ÔÚInstall Licensed Internal Code²Ëµ¥ÆÁÄ»ÉÏÑ¡Ôñ

2--Install Licensed Internal Code £¨LIC£© and Initialize system£¬È»ºóÇÃÖ´Ðмü¡£

ÔÚInstall Licensed Internal Code and Initialize system-warningÆÁÄ»ÉÏÖ±½ÓÇÃÖ´Ðмü¡£

ÔÚInstall Licensed Internal Code £¨LIC£© and Initialize system-confirmationÆÁÄ»ÉÏÇÃF10¡ªcontinue to Install£¬½øÈëInitialize the Disk¡ªStatusÆÁÄ»¡£µÈ´ý£¬È»ºó½øÈëInstall Licensed Internal Code £¨LIC£©-statuesÆÁÄ»£¬Íê³Éºó£¬»úÆ÷»á×Ô¶¯IPL£¬IPL·½Ê½×Ô¶¯±äΪ01 A M£¨Ã»ÓдòPTF£©¡£

IPLÍê³Éºó£¬½øÈëDisk Configuration Attention ReportÆÁÄ»¡£

ÔÚ´ËÆÁÄ»ÉÏ°´F10-Accept the problems and continue¼ÌÐø

 

µÚ¶þ²½£º°²×°²Ù×÷ϵͳ£¨2-3Сʱ£©

ÔÚIPL or Install the System²Ëµ¥ÆÁÄ»ÉÏ£¬

Ñ¡Ôñ2¡ªInstall the Operation System £¬ÇÃÖ´Ðмü£¬½øÈëConfirm Install of OS/400ÆÁÄ»£¬ÇÃÖ´ÐмüÈ·ÈÏ¡£½øÈëSelect a Language GroupÆÁÄ»¡£ÔÚ Language Featureºó±ßÌî2984È»ºóÇÃÖ´Ðмü¡£½øÈëconfig Language Feature selectionÕâһȷÈÏÆÁÄ»£¬ÔÚ´ËÆÁÄ»ÇÃÖ´Ðмü£¬½øÐÐÈ·ÈÏ¡£

½øÈëAdd All Disk Units to the System²Ëµ¥ÆÁÄ»¡£ÔÚÕâÒ»ÆÁÄ»ÖпÉÒÔ¸ù¾Ý²»Í¬Çé¿ö×ö³ö²»Í¬µÄÑ¡Ôñ¡£ÎÒÕâÀï°´ÖØÐÂÅäÖÃÓ²ÅÌ,²¢ÇÒ°ÑËùÓÐÓ²ÅÌ×öµ½Ò»¸öASPÖÐÀ´×ö¡£

Ñ¡Ôñ²Ëµ¥ÖеÄ4¡ªAdd All the Disk units to the System ASP and balance data

    ×¢£º ÕâÀï3ºÍ4µÄÇø±ðÊÇ£º3Ö»¼òµ¥µØ°ÑËùÓдÅÅ̼ӵ½Ò»¸öASPÖУ¬¶ø4²»½ö°ÑËùÓеĴÅÅ̼ӵ½Ò»¸öASPÖУ¬²¢ÇÒ½øÐÐÊý¾Ýƽºâ²Ù×÷¡£

´ÅÅÌÅäÖÃÍê±Ïºó½øÈëLIC¹«Ë¾IPL ProgressÆÁÄ»¡£

µÈ´ý£¬µ½Ìáʾ»»ÅÌʱÔÚ¹âÇýÖзÅÈë¹âÅÌB2984_01£¬È»ºóÇÃÖ´Ðмü¼ÌÐø¡£

ÔÚ°²×°²Ù×÷ϵͳµÄ¹ý³ÌÖÐÒªÇóÄãÊäÈëÈÕÆÚ¡¢Ê±¼äµÈ¡£¸ù¾ÝÌáʾ»»¹âÅÌ¡£

µÚÒ»´Î³öÏֵǼ½çÃæʱ£¬ÓÃÓû§QSECOFR½øÐеǼ£¨Ã»ÓпÚÁҲ²»ÐèÒª¿ÚÁ¡£

ÔÚIPL OptionÒ»ÆÁÖÐÒ»°ã²»ÐèÒª½øÐÐÈκÎÉèÖã¬Ö±½Ó°´Ö´Ðмü£¬½øÈëSet Major System OptionÕâÒ»ÆÁ£¬Ò»°ã¶øÂÛÒ²²»ÐèÒª½øÐÐÈκÎÉèÖã¬Ö±½ÓÇÃÖ´Ðмü¡£

ÔÙ´ÎÆô¶¯ºó£¬ÏµÍ³»áÒªÇóÄãÐÞ¸ÄQSECOFRÓû§µÄÃÜÂë¡£(ĬÈÏ¿ÚÁîΪ£ºQSECOFR)

ÖØÐÂÆô¶¯»úÆ÷£¬½øÈëDST¡£ÅäÖôÅÅÌ£¬×öRAID±£»¤ºÍ¾µÏñ±£»¤¡£

ÅäÖôÅÅ̵ľßÌå²½Ö裺

½øÈëSST£¬Ñ¡Ôñ3-work with disk units£¬½øÈëºó£¬Ñ¡Ôñ

2-Work with disk Configuration£¬½øÈëºó£¬Ñ¡Ôñ

2-Add units to ASPs£¬½øÈëºó£¬ÔÚÄãÒª¼ÓÈëµÄ´ÅÅÌÇ°ÃæÌîдASPºÅ£¬Èç1´ú±í¼ÓÈëµ½ASP1£¬2´ú±í¼ÓÈëµ½ASP2£¬µÈ

 

°²×°ÌØÐí³ÌÐò£¨3µ½4Сʱ£©

·ÅÈëB2984_02 Ãâ·ÑÌØÐí³ÌÐòÅÌ¡£

CHGMSGQ QSYSOPR *BREAK SEV(60)

 ENDSBS *ALL *IMMEDCHGMSGQ QSYSOPR SEV(95)

 GO LICPGM²¢Ñ¡ÊÖ¶¯°²×°È«²¿Ö®ËùÓвúÆ·£¬°²×°É豸OPT01£¬¿ªÊ¼°²×°¡£

³öÏÖÌáʾҪÇó×°ÈëÏÂÒ»ÕŽéÖÊ£¬X£ºÎÞÏÂÒ»ÕÅ£¬G£ºÒÑ×°ÈëÏÂÒ»ÕÅ¡£

·ÅÈëF2984_01¸½¼ÓÌØÐí³ÌÐòÅÌ¡£

GO LICPGM²¢Ñ¡ÊÖ¶¯°²×°È«²¿Ö®ËùÓвúÆ·£¬°²×°É豸OPT01£¬¿ªÊ¼°²×°¡£

ÔÚLICPGM²Ëµ¥£¬Ñ¡50ÏÔʾ¶ÔÐÅÏ¢µÄ¼Ç¼£¬ÑéÖ¤°²×°Çé¿ö¡£

°²×°PTF£¨8µ½10Сʱ£©

 IPLģʽÉèΪNORMAL£¬ÓÃQSECOFRµÇ¼¡£
·ÅÈëC9152410_01ÀÛ»ýPTFÅÌ¡£
CHGMSGQ QSYSOPR *BREAK SEV£¨70£©¡£
GO PTF£¬Ñ¡Ïî8°²×°È«²¿PTF°ü£¬Automatic IPL optionÉèΪN¡£
°²×°Íê³Éºó£¬
ENDSBS *ALL *IMMED
DSPMSG QSYSOPR
µ±System ended to restricted conditionÐÅÏ¢³öÏֺ󣬹ػú¡£
PWRDWNSYS OPTION£¨*IMMED£© RESTART£¨*YES£© IPLSRC£¨B£©
°²×°PTFºó£¬ÖØÆô¶¯£¬Ó¦´ÓBÆô¶¯¡£
ÔÚLICPGM²Ëµ¥£¬Ñ¡50ÏÔʾ¶ÔÐÅÏ¢µÄ¼Ç¼£¬ÑéÖ¤°²×°Çé¿ö¡£

 

°²×°µÚ¶þÓïÑÔ£¨1-2Сʱ£©

ÓÃQSECOFRµÇ¼¡£

·ÅÈëL2989_01ÖÐÎĵڶþÓïÑÔÅÌ¡£

CHGMSGQ QSYSOPR *BREAK SEV£¨95£©¡£

GO LICPGM£¬Ñ¡21°²×°¸¨ÖúÓïÑÔ£¬Ñ¡2989ÖÐÎÄ¡£

°²×°½áÊøºó£¬¸ÄϵͳֵWRKSYSVAL QSYSLIBL£¬ÔÚQSYSÇ°¼ÓÈëQSYS2989¿â¡£

 

ÐÞ¸Äϵͳֵ

    QAUTOCFG 1

QAUTORMT 1

QAUTOVRT *nomax

QLMTSECOFR 0

QSECURITY 40

QCTLSBSD QCTL £¨Ê¹ÓÃÓÚnormal»úÆ÷£©£¨¶ÔÓÚDSD»úÆ÷£¬Ó¦ÎªQBASE£©

QCNTRYID CN

QDATE

QTIME

 

AS400°²×°ÖÐÎĵڶþÓïÑÔºó£¬ÓÃWRKSYSVAL QSYSLIBLÃüÁîÐÐÖ¸Á½«QSYS2989¿â¼ÓÈ룬עÒâ¼ÓÔÚQSYS¿âµÄÇ°Ã棬ÕâÑù²Ëµ¥ºÍ°ïÖú¾Í¶¼ÊÇÖÐÎÄÁË¡£

 

ÐÞ¸ÄÐí¿É³ÌÐòÓû§Êý

WRKLICINF

    ΪÁË°²È«£¬½¨Á¢Ò»¸öÓëQSECOFRÓÐÏàµÈȨÏÞµÄÓû§×÷ΪQSECOFRµÄ±¸·Ý¡£

 

3.2.6       ¹ØÓÚlockµÄһЩ¸ÅÄî

 

1. ËøµÄÎåÖÖÀàÐÍ

(1) Exclusive(*EXCL): Ö»ÓиÃËøµÄ·¾¶Ñ¡Ôñ¹ý³Ì(routing step)²Å¿ÉÄÜʹÓøöÔÏó£»

ÔÚÆäËûÈÎÎñÖеÄ·¾¶Ñ¡Ôñ¹ý³Ì²»ÄÜ´æÈ¡¸Ã¶ÔÏó¡£

(2) Exclusive-allow-read(*EXCLRD): Õ¼ÓøÃËøµÄ·¾¶Ñ¡Ôñ¹ý³Ì¿ÉÄܶÁ»ò¸üиöÔÏó£¬

¶øÆäËûÈÎÎñÖеÄ·¾¶Ñ¡Ôñ¹ý³ÌÖ»ÄܶÁËü¡£

(3) Shared-for-update(*SHRUPD): Õ¼ÓøÃËøµÄ·¾¶Ñ¡Ôñ¹ý³ÌÒÔ¼°ÔÚÆäËûÈÎÎñÖеÄ·¾¶

Ñ¡Ôñ¹ý³ÌÊÇ¿ÉÒÔ¶Á»ò¸üиöÔÏó¡£

(4) Shared-no-update(*SHRNUP): Õ¼ÓøÃËøµÄ·¾¶Ñ¡Ôñ¹ý³ÌÖ»¿ÉÒÔ¶Á¸Ã¶ÔÏ󣻶øÔÚÆäËû

ÈÎÎñÖеÄ·¾¶Ñ¡Ôñ¹ý³ÌÒ²ÊÇÖ»¶Á¸Ã¶ÔÏó¡£

(5) Shared-for-read(*SHRRD): Õ¼ÓøÃËøµÄ·¾¶Ñ¡Ôñ¹ý³ÌÖ»¿ÉÒÔ¶Á¸Ã¶ÔÏ󣻶øÔÚÆäËû

ÈÎÎñÖеÄ·¾¶Ñ¡Ôñ¹ý³ÌÊÇ¿ÉÒÔ¶Á»ò¸üиöÔÏó¡£

 

2. ȱʡÇé¿öÏ£¬CLºÍHLL(¸ß¼¶ÓïÑÔ³ÌÐò£©³ÌÐòÖ»ÔÚÊäÈë(I)ÎïÀíÎļþ³ÉÔ±µÄÊý¾ÝÉÏ·ÅÖÃ*SHRRDËø£¬²¢ÔÚÖ»Êä³ö(O)ºÍÊäÈë-Êä³ö(U)ÎïÀíÎļþ³ÉÔ±µÄÊý¾ÝÉÏ·ÅÖÃ*SHRUPDËø¡£

 

ºóÃæÕâÒ»¾ä²»ÊǺÜÀí½â£¬ÎªÊ²Ã´O/UÀàÐ͵ÄÎļþ²»·Å*EXCLRDËøÄØ£¿¸öÈËÀí½âÓ¦ÊÇÖ»ÔÊÐíµ±Ç°³ÌÐò¸üУ¬ ±ðµÄ³ÌÐòÖ»ÄܶÁ¡£ÐèÒª¸ßÊÖÖ¸½Ì£¡

 

3. ÏÔʾ¶ÔÏó(object)ºÍ¼Ç¼(record)µÄËøÓÐÈý¸öÃüÁ

(1) wrkobjlck: ²é¿´ÓÉËùÓÐÈÎÎñÔÚÒ»¸ö¶ÔÏóÉÏʹÓõÄlock¡£

(2) dsprcdlck(display record locks): ²é¿´Ò»¸öÎïÀíÎļþÖÐÒÑËø¶¨µÄ¼Ç¼.

(3) dspjob: ²é¿´Ò»¸öÈÎÎñµÄËùÓÐÍⲿËø£¬°üÀ¨ÒÑʹÓõÄÄÇЩËøºÍ¸ÃÈÎÎñÕýµÈ´ýʹÓõÄÄÇЩËø¡£

 

3.2.7   Journal¹ÜÀí

3.2.7.1  Journal µÄ¸ÅÄîÒÔ¼°×÷ÓÃ

3.2.7.2  ÈçºÎΪһ¸öÎïÀíÎļþ´´½¨Ò»¸öjournal

A.      Create one journal rceiver

 

 

 

 

 

 

 

 

 

 

 

 

B.      Create one journal

 

C.      Start one PF for the journal

 

D.     create log file

Use WRKQRY command to create one PF and the first 10 field should be:

And join every fields in RCM file.

Use ¡°define result fields¡± define the temp fields

 

E.      Source code

 

/*************  CL SOURCE CODE *************************************************************/

/* USE QUERY  SULL611O/JRNRCMQ1 DEFINE RCMJRNPF DATABASE FILE                              */

/* THE RECORD LENGTH OF RCM IS: 1551                                                       */

/*                                                                                         */

/* IF YOU WANT RETRIEVE WHO CHANGE/UPDATE/DELETE THE FILE                                  */

/*    SO YOU NEED THE FIRST 66 CHARACTER IN THE JRN STRING.                                */

/*                                                                                         */

/* If ENTFMT(*TYPE1) is specified,                                                         */

/* then the format of the fields in the retrieved entry is as follows:                     */

/* FIELD NAME             FIELD ATTRIBUTES             *****                               */

/* ENTRY LENGTH           TYPE(*DEC) LEN(5 0)          *****                               */

/* SEQUENCE NUMBER        TYPE(*DEC) LEN(10 0)         *****                               */

/* JOURNAL CODE           TYPE(*CHAR) LEN(1)           *****                               */

/* JOURNAL ENTRY TYPE     TYPE(*CHAR) LEN(2)           *****                               */

/* DATE                   TYPE(*CHAR) LEN(6)           *****                               */

/* TIME                   TYPE(*DEC) LEN(6 0)          *****                               */

/* JOB NAME               TYPE(*CHAR) LEN(10)          *****                               */

/* USER NAME              TYPE(*CHAR) LEN(10)          *****                               */

/* JOB NUMBER             TYPE(*DEC) LEN(6 0)          *****                               */

/* PROGRAM NAME           TYPE(*CHAR) LEN(10)          *****                               */

/* OBJECT NAME            TYPE(*CHAR) LEN(10)                                              */

/* OBJECT LIBRARY         TYPE(*CHAR) LEN(10)                                              */

/* MEMBER NAME            TYPE(*CHAR) LEN(10)                                              */

/* COUNT/RRN              TYPE(*DEC) LEN(10 0)                                             */

/* FLAG                   TYPE(*CHAR) LEN(1)                                               */

/* COMMIT CYCLE ID        TYPE(*DEC) LEN(10 0)                                             */

/* INCOMPLETE DATA        TYPE(*CHAR) LEN(1)                                               */

/* MINIMIZED ENTRY DATA   TYPE(*CHAR) LEN(1)                                               */

/* RESERVED               TYPE(*CHAR) LEN(6)                                               */

/* ENTRY-SPECIFIC DATA    TYPE(*CHAR) LEN(UP TO 9844)                                      */

/*                                                                                         */

/*                                                                                         */

/* for more info. you can browse from:                                                     */

/*      http://publib.boulder.ibm.com/iseries/v5r2/ic2989/index.htm?info/cl/rtvjrne.htm    */

/*                                                                                         */

/*******************************************************************************************/

             PGM

             DCL        VAR(&RTNENT) TYPE(*CHAR) LEN(1676)

             DCL        VAR(&RTNENT2) TYPE(*CHAR) LEN(1617)

             DCL        VAR(&SEQUNC) TYPE(*DEC) LEN(10) VALUE(1)

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

             CLRPFM     FILE(RCMJRNPF)

 LOOP1:      RTVJRNE    JRN(BPCS611F/SSAIJRN) FILE((BPCS611F/RCM)) +

                          FROMENT(&SEQUNC) ENTTYP(PT PX UB UP) +

                          ENTFMT(*TYPE1) RTNJRNE(&RTNENT)

             CHGVAR     VAR(&SEQUNC) VALUE(%SST(&RTNENT 6 10))

             CHGVAR     VAR(&RTNENT2) VALUE((%SST(&RTNENT 1 66)) +

                          *CAT (%SST(&RTNENT 126 1551)))

             CALL       PGM(JRNRCDB) PARM(&RTNENT2)

             CHGVAR     VAR(&SEQUNC) VALUE(&SEQUNC + 1)

             GOTO       CMDLBL(LOOP1)

 ENDPGM:     ENDPGM

/*******************************************************************************************/

     F*  RPGLE SOURCE CODE

     F* about Journal help info. you can refer to:

     F* http://publib.boulder.ibm.com/iseries/v5r2/ic2989/index.htm?info/cl/rtvjrne.htm

     F*

     F*

     F*****************************************************************

     FRCMJRNPF  O    E             DISK    RENAME(RCMJRNPF:IPR100CM)

     F*****************************************************

     D RCMDS         E DS                  EXTNAME(RCMJRNPF)

     C     *entry        plist

     C                   PARM                    pSTRING        1617

     C                   EVAL      RCMDS = PSTRING

     C                   WRITE     IPR100CM

     C                   RETURN

 

     

Library

Object

Remark

SULL611O

JRNRMCQ1

Create RCMJRNPF file

BPCS611F

RCMJNRPF

Save log of RCM

SULL611O

JRNRCDC

Main program

SULL611O

JRNRCDB

Call by JRNRCDC

 

F.      Structure of RCMJRNPF

 

o  PT - Record added to physical file member

          o  PX - Record added directly to physical file member

          o  UB - Before-image of record updated in physical file member

          o  UP - After-image of record updated in physical file member

 

ÏÖÔÚÄã¿ÉÒÔʹÓÃÕâ¸öexcel¸ñʽȥ¸ú×ÙË­ÐÞ¸ÄÁ˼Ǽ