Anda di halaman 1dari 5

Comandos de AS400 generalmente se construyen con bloques sintcticos. Estos bloque s se concatenan para generar comandos.

Generalmente, la primera bloquear en los detalles de un comando de la accin que se realizar por el comando, y todas las par tes posteriores del comando son modificadores. Por ejemplo, el comando WRKSYSVAL se compone de tres bloques principales, una accin y dos especificadores de objet o de la accin: WRK stands for WoRK, SYS stands for SYStem VAL stands for VALues WRKSYSSTS is composed of three blocks: WRK for WoRK SYS for SYStem STS for STatuS Los bloques son relativamente consistentes de comando a comando. Por lo general, se utilizar el mismo bloque de accin con una variedad de objetos que pueden verse afectados por su finalidad. Por ejemplo: WRKSYSVAL (WoRK with SYStem VALues) WRKSPLF (WoRK SPooLed Files) WRKOBJ (WoRK with OBJects) WRKCFGSTS (WoRK ConFiGuration STatuS) La parte del objeto tambin es relativamente consistente entre las acciones. Puede utilizarse un bloque nico objeto con diferentes acciones. Ejemplo: CRTDEVD (CReaTe DEVice Description) DLTDEVD (DeLeTe DEVice Description) WRKDEVD (WoRK DEVice Description) Aparte de las guas de referencia CL (lenguaje de comandos), las mejores fuentes d e documentacin de comando OS/400 se encuentran en OS/400. Se debe tener en cuenta que el servicio de Ayuda de OS/400 es un componente opcional, y algunos AS / 40 0 pueden no tener instalado. < F4 > muestra los grupos principales del comando en cualquier lnea de comandos p ara un usuario con privilegios suficientes. El comando SLTCMD (comando SeLecT) permite al usuario crear una lista de comando s que se ajusten a un modelo especfico o un grupo. MAIN Select one of the following: 1. User tasks 2. Office tasks 4. Files, libraries, and folders 6. Communications 8. 9. 10. 11. Problem handling Display a menu Information Assistant options PC Support tasks AS/400 Main Menu System: RAINIER

90. Sign off Selection or command SLTCMD CMD(WRKD*)

F3=Exit F4=Prompt F9=Retrieve F23=Set initial menu

F12=Cancel

F13=Information Assistant

Le dar al usuario la pantalla que se muestra a continuacin: Select Command Type options, press Enter. 1=Select Opt Command WRKDBFIDD WRKDDMF WRKDEVD WRKDIR WRKDIRLOC WRKDIRSHD WRKDOC WRKDOCCVN WRKDOCLIB WRKDOCPRTQ WRKDOCSET WRKDOCTYP Library QSYS QSYS QSYS QSYS QSYS QSYS QSYS QSYS QSYS QSYS QSYS QSYS Text Work Work Work Work Work Work Work Work Work Work Work Work with with with with with with with with with with with with DB Files using IDDU DDM Files Device Descriptions Directory Directory Locations Dir Shadow Systems Documents Document Conversions Document Libraries Document Print Queue Document Sets Document Types

Parameters or command F3=Exit F12=Cancel F4=Prompt F5=Refresh F16=Repeat position to F9=Retrieve F11=Display names only F17=Position to

Entonces, el usuario puede seleccionar el comando que desee de la lista. Si el usuario escribe un comando en una lnea de comandos y la clave de presiones del F4, se mostrarn todos los parmetros predeterminados para ese comando concreto, algunas con valores predeterminados. Nota: El AS / 400 servicios de ayuda no es un elemento requerido para instalar. COMANDOS TRABAJAR CON LNEAS Lo siguiente se utiliza algunos bloques de objetos para hacer referencia a las ln eas: DLT (DeLeTe), DSP (DiSPlay), WRK (WoRK): - LIND (LINe Description)

CHG (CHanGe), CRT (CReaTe): LINETH (LINe ETHernet) LINSDLC (LINe SDLC) LINTDLC (LINe TDLC [Twinax]) LINTRN (LINe Token RiNg) LINX25 (LINe X.25)

Generalmente, la forma ms sencilla de comprobar la configuracin de una lnea es medi ante el uso de: WRKLIND {line description name} Para obtener una lista de todas las lneas en un AS / 400: WRKLIND *ALL Este comando muestra una lista de todas las lneas que estn configurados en el sist ema y el usuario actual tiene suficientes privilegios para ver. Work with Line Descriptions System:RAINIER Position to . . . . . Starting characters 6=Print 7=Rename Type options, press Enter. 2=Change 3=Copy 4=Delete 5=Display 8=Work with status 9=Retrieve source Opt _ _ _ _ _ _ _ _ _ Line ANDERSEN CHICAGO ETHLINE ETHLINE2 HNETHOST LANLINE L02124BSC MPGLIN QESLINE Type *SDLC *SDLC *ELAN *ELAN *SDLC *TRLAN *BSC *SDLC *SDLC

Text sdlc dial-out for AC; Pass thru source. 'sdlc dial-in for AC; ETHERNET LINE ETHERNET LINE Help/NET Product Support TOKEN RING LINE EDI/400 BSC manual dial line at 02400 baud. MPG - Midrange Performance Group line LIN011 IBM DIAL OUT LINE - LIN021

Parameters or command F3=Exit F4=Prompt F5=Refresh F14=Work with status F6=Create F9=Retrieve F12=Cancel

La interfaz de usuario para este comando permite al usuario realizar todas las f unciones que permiten a cualquiera de los comandos. TRABAJAR CON DISPOSITIVOS Y CONTROLADORES Aparte del hecho de que los parmetros de configuracin reales son diferentes porque los objetos que se tratan son diferentes, los comandos de dispositivo y el cont rolador son muy similares a la lnea de comandos. Los comandos ms importantes para trabajar con dispositivos y controladores se crean con estos bloques: DLT (DeLeTe), DSP (DiSPlay), WRK (WoRK): - DEVD - CTLD (DEVice Description) (ConTroLler Description)

CHG (CHanGe), CRT (CReaTe): - DEVAPPC - CTLAPPC (DEVice APPC) (ConTroLer APPC)

La interfaz de usuario es muy similar a la interfaz de usuario para WRKLIND. TRABAJAR CON RECURSOS DE HARDWARE

Descripciones de lnea son parmetros de configuracin para un tipo de conexin en un re curso de hardware especfico (por lo tanto, el recurso de nombre de parmetro en la descripcin de la lnea). WRKHDWRSC *CMN [WoRK with HarDWare ReSourCes - *CoMmuNications] Si la lnea se soluciona es una lnea de Twinax, utilice el comando siguiente para b uscar en estaciones de trabajo locales: WRKHDWRSC *LWS [WoRK with HarDWare ReSourCes - *Local WorkStations] La interfaz es similar a la interfaz de WRKLIND. TRABAJAR CON EL ESTADO DE LA CONFIGURACIN Descripciones de lnea no son tiles, hasta que se hayan activado para su uso. Los comandos ms tiles al consultar el estado de una lnea, un controlador o un dispo sitivo o intentar variarlo on u off es los siguientes: VRYCFG CFGOBJ({description}) CFGTYPE(*LIN|*DEV|*CTL) STATUS(*ON|*OFF) [VaRY ConFiGuration] WRKCFGSTS CFGTYPE(*LIN) CFGD({description[optional]}) [WoRK with ConFiGuration STatuS] VRYCFG simplemente cambia el estado de la lnea y no tiene ninguna interfaz de usu ario, mientras que WRKCFGSTS proporcionar una interfaz de usuario a travs del cual el usuario puede supervisar el estado y realice los cambios segn corresponda. MOSTRAR Y CAMBIAR LOS ATRIBUTOS DE LA RED Red de atributos en el AS / 400 son equivalentes a las propiedades del servidor en el Administrador de SNA Server. DSPNETA [DiSPlay NETwork Attributes] CHGNETA [CHanGe NETwork Attributes] OTROS AS / 400 COMMANDS Estos comandos pueden resultar til en algunas situaciones: DSPMSG <message queue> [DiSPlay MeSsaGe] View messages sent to a particular queue. If no message queue is specified, the command brings up the current user's message queue. The message queue used by default for system generated error, warning, and informational messages, is the queue for QSYSOPR: DSPMSG QSYSOPR allows the user to view any messages for any event requiring attention. Messages needing a reply can be identified by a blank line under the message. Set the cursor over a message using the arrow keys, and press the F1 key to get more information about that message. The help information displayed may include suggested troubleshooting steps. WRKSPLF [WoRK with SPooLed Files] View, change properties, and delete spooled files in queue for a print device (or to be sent to a print device). Generally, when a device fails while in session, an entry is created with details of all the errors

that occurred while that device was in session. Useful for troubleshooting specific station problems. WRKACTJOB [WoRK with ACTive JOBs] Displays and allows system operators to manage jobs that are currently active in the system. Displays useful information such as the job's creator, time and date of creation, job attributes and parameters, CPU load, CPU share of a job. WRKSYSVAL *ALL [WoRK with SYStem VALues - *ALL] Displays a full list of all system values in the AS/400. Includes items such as QAUTOCFG (switch for auto-configuration) and QAUTOVRT (virtual devices to create). WRKMODD [WoRK with MODe Description] Provides user interface for managing all modes defined in the system. The user interface is similar to the user interface used for changing line and device descriptions. WRKFLR [WoRK with FoLdeRs] Provides user interface for displaying and managing all shared folders created in the system. WRKSBSD [WoRK with SuBSystem Description] Provides user interface for management of the properties of all or some subsystems on the AS/400. Subsystems are processes that are responsible for managing resources for a particular group of jobs, such as 5250 display or printer sessions. This command is usually used for troubleshooting whether a particular subsystem can support a particular device type.

Anda mungkin juga menyukai