Académique Documents
Professionnel Documents
Culture Documents
MAIN
Creating a Library, and Page 1 Changing Your Profile to Define a New Current Library create-current-library
AS/400 Main Menu System: S1010045
Select one of the following: 1. User tasks ... 10. Information Assistant options 11. Client Access tasks 90. Sign off Selection or command ===> dsplibl F3=Exit F4=Prompt F23=Set initial menu F9=Retrieve F12=Cancel
F13=Information Assistant
You should not have a current library at this time. System: Type options, press Enter. 5=Display objects in library Opt Library QSYS QSYS2 QHLPSYS QUSRSYS QGPL QTEMP Type SYS SYS SYS SYS USR USR Text System Library System Library for CPI's General Purpose Library F17=Top F18=Bottom Bottom S1010045
F3=Exit
F12=Cancel
Lets see if a library exists for our projects. MAIN Select one of the following: 1. User tasks ... 11. Client Access tasks 90. Sign off Selection or command ===> wrkobj F3=Exit F4=Prompt F23=Set initial menu F9=Retrieve F12=Cancel F13=Information Assistant AS/400 Main Menu System: S1010045
Creating a Library, and Page 2 Changing Your Profile to Define a New Current Library create-current-library
Work with Objects (WRKOBJ) Type choices, press Enter. Object . . . . . . . . . . . . . Library . . . . . . . . . . . Object type . . . . . . . . . . F3=Exit F4=Prompt F5=Refresh F24=More keys Parameter OBJ required. youracct *LIBL *ALL F12=Cancel Name, generic*, *ALL Name, *LIBL, *CURLIB... *ALL, *ALRTBL, *AUTL... Bottom F13=How to use this display
Work with Objects Type options, press Enter. 2=Edit authority 3=Copy 4=Delete 5=Display authority 8=Display description 13=Change description Opt Object YOURACCT YOURACCT Type *USRPRF *MSGQ Library QSYS QUSRSYS Attribute Text Work Station User Work Station User 7=Rename
Bottom Parameters for options 5, 7 and 13 or command ===> F3=Exit F4=Prompt F5=Refresh F9=Retrieve F11=Display names and types F12=Cancel F16=Repeat position to F17=Position to F24=More keys Notice that there is no object type of *LIB for YOURACCT, you don't have a personal library. Lets create your own library. Work with Objects Type options, press Enter. 2=Edit authority 3=Copy 4=Delete 5=Display authority 8=Display description 13=Change description Opt Object YOURACCT YOURACCT Type *USRPRF *MSGQ Library QSYS QUSRSYS Attribute Text Work Station User Work Station User 7=Rename
Bottom Parameters for options 5, 7 and 13 or command ===> crtlib F3=Exit F4=Prompt F5=Refresh F9=Retrieve F11=Display names and types F12=Cancel F16=Repeat position to F17=Position to F24=More keys
Creating a Library, and Page 3 Changing Your Profile to Define a New Current Library create-current-library
Create Library (CRTLIB) Type choices, press Enter. Library . . . . . . . . . . . . Library type . . . . . . . . . . Text 'description' . . . . . . . F3=Exit F4=Prompt F5=Refresh F13=How to use this display Parameter LIB required. youracct *PROD *BLANK Name *PROD, *TEST F12=Cancel
Work with Objects Type options, press Enter. 2=Edit authority 3=Copy 4=Delete 5=Display authority 8=Display description 13=Change description Opt Object YOURACCT YOURACCT Type *USRPRF *MSGQ Library QSYS QUSRSYS Attribute Text Work Station User Work Station User 7=Rename
Parameters for options 5, 7 and 13 or command ===> F3=Exit F4=Prompt F5=Refresh F9=Retrieve F11=Display names and types F12=Cancel F16=Repeat position to F17=Position to F24=More keys Library YOURACCT created. Why doesn't the prior screen display the object just created? press F5 for refresh. Work with Objects Type options, press Enter. 2=Edit authority 3=Copy 4=Delete 5=Display authority 8=Display description 13=Change description Opt Object YOURACCT YOURACCT YOURACCT Type *LIB *USRPRF *MSGQ Library QSYS QSYS QUSRSYS Attribute PROD Text Work Station User Work Station User 7=Rename To update the screen,
Parameters for options 5, 7 and 13 or command ===> F3=Exit F4=Prompt F5=Refresh F9=Retrieve F11=Display names and types F12=Cancel F16=Repeat position to F17=Position to F24=More keys
Creating a Library, and Page 4 Changing Your Profile to Define a New Current Library create-current-library
Work with Objects Type options, press Enter. 2=Edit authority 3=Copy 4=Delete 5=Display authority 8=Display description 13=Change description Opt Object YOURACCT YOURACCT YOURACCT Type *LIB *USRPRF *MSGQ Library QSYS QSYS QUSRSYS Attribute PROD Text Work Station User Work Station User 7=Rename
Parameters for options 5, 7 and 13 or command ===> go main F3=Exit F4=Prompt F5=Refresh F9=Retrieve F11=Display names and types F12=Cancel F16=Repeat position to F17=Position to F24=More keys Now lets change our profile so this library is set as our current library each time we logon. MAIN Select one of the following: 1. User tasks 2. Office tasks ... 90. Sign off Selection or command ===> 1 F3=Exit F4=Prompt F23=Set initial menu F9=Retrieve F12=Cancel F13=Information Assistant AS/400 Main Menu
System:
S1010045
Creating a Library, and Page 5 Changing Your Profile to Define a New Current Library create-current-library
User Tasks System: S1010045
Select one of the following: 1. Display or change your job ... 7. Display or change your library list 8. Change your password 9. Change your user profile 60. More user task options 90. Sign off Selection or command ===> 9 F3=Exit F4=Prompt F16=AS/400 Main menu F9=Retrieve F12=Cancel
F13=Information Assistant
Set the current library parameter to youracct (your new library) and press enter. Change Profile (CHGPRF) Type choices, press Enter. Assistance level . Current library . Initial program to Library . . . . Initial menu . . . Library . . . . Text 'description' . . . . . . call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *SYSVAL youracct *NONE *SAME, *SYSVAL, *BASIC... Name, *SAME, *CRTDFT Name, *SAME, *NONE Name, *LIBL, *CURLIB MAIN Name, *SAME, *SIGNOFF *LIBL Name, *LIBL, *CURLIB 'Work Station User' F10=Additional parameters F24=More keys F12=Cancel
Creating a Library, and Page 6 Changing Your Profile to Define a New Current Library create-current-library
User Tasks System: S1010045
Select one of the following: 1. Display or change your job ... 8. Change your password ... 90. Sign off Selection or command ===> F3=Exit F4=Prompt F9=Retrieve F16=AS/400 Main menu User profile YOURACCT changed. F12=Cancel
F13=Information Assistant
Now lets change the access authority on this library. MAIN Select one of the following: 1. User tasks ... 11. Client Access tasks 90. Sign off Selection or command ===> edtobjaut F3=Exit F4=Prompt F23=Set initial menu F9=Retrieve F12=Cancel F13=Information Assistant AS/400 Main Menu
System:
S1010045
Edit Object Authority (EDTOBJAUT) Type choices, press Enter. Object . . . . . . . . . . . . . Library . . . . . . . . . . . Object type . . . . . . . . . . F3=Exit F4=Prompt F5=Refresh F24=More keys Parameter OBJ required. youracct *LIBL *lib F12=Cancel Name Name, *LIBL, *CURLIB *ALRTBL, *AUTL, *BNDDIR... F13=How to use this display +
Creating a Library, and Page 7 Changing Your Profile to Define a New Current Library create-current-library
Edit Object Authority Object . . . . . . . : Library . . . . . : Object type . . . . : YOURACCT QSYS *LIB Owner . . . . . . . : Primary group . . . : YOURACCT *NONE
Type changes to current authorities, press Enter. Object secured by authorization list User YOURACCT *PUBLIC Group Object Authority *ALL *CHANGE F10=Grant with reference object F12=Cancel F17=Top F18=Bottom . . . . . . . . . . . . *NONE
Edit Object Authority Object . . . . . . . : Library . . . . . : Object type . . . . : YOURACCT QSYS *LIB Owner . . . . . . . : Primary group . . . : YOURACCT *NONE
Type changes to current authorities, press Enter. Object secured by authorization list User YOURACCT *PUBLIC Group Object Authority *ALL *EXCLUDE F10=Grant with reference object F12=Cancel F17=Top F18=Bottom . . . . . . . . . . . . *NONE
Creating a Library, and Page 8 Changing Your Profile to Define a New Current Library create-current-library
Edit Object Authority Object . . . . . . . : Library . . . . . : Object type . . . . : YOURACCT QSYS *LIB Owner . . . . . . . : Primary group . . . : YOURACCT *NONE
Type changes to current authorities, press Enter. Object secured by authorization list User YOURACCT *PUBLIC Group Object Authority *ALL *EXCLUDE F10=Grant with reference object F12=Cancel F17=Top F18=Bottom . . . . . . . . . . . . *NONE
F3=Exit F5=Refresh F6=Add new users F11=Display detail object authorities Object authorities changed.
4. Files, libraries, and folders 6. Communications 8. 9. 10. 11. Problem handling Display a menu Information Assistant options Client Access tasks
90. Sign off Selection or command ===> 90 F3=Exit F4=Prompt F23=Set initial menu F9=Retrieve F12=Cancel F13=Information Assistant
The next time you sign on, you will have your own personal library and it will be your current library.