Q

TELNET *CMD has been deleted from the system

This Content Component encountered an error

My TELNET *CMD has been deleted from our system. It must have been deleted a long time ago because none of our backup tapes have it on them. Can I just reload LICPGM TCP/IP over the current installation or will that wipe out my current TCP/IP settings, ie. Routes etc? I know you can restore a *CMD from the CD ROM distribution media but I can find the path on the CD ROM to the correct file. How are the objects on the CD ROM stored.


I have spoken with several people on this and there is one question that needs to be answered. Do you have a savsys tape or full system save / backup? If so can we have you perform the following?

Do a DSPTAP DATA(*SAVRST) OUTPUT(*PRINT) and find what label the TELNET command is associated with. The DSPTAP will generate a spooled file, which you can search for TELNET. The search is case sensitive and TELNET needs to be in all caps. When you find the command, page up until you see the associated file label. Most likely it will be something like Q5769SS1450240005.

Once you have this information, you can then use this tape to restore the TELNET command by issuing the following:

RSTOBJ OBJ(TELNET) SAVLIB(QSYS) DEV(TAP01)
LABEL(Q5769SS1450240005)

If you cannot find the TELNET command on your SAVSYS media, it is also possible to restore this command from original install cd labeled B2924_01. You will need to know the optical path name. This can be determined with the following steps:

STEP1: In this case the file label ID is likely Q5769SS1450240005 (The last two digits in the file label ID represent the sequence number on the PID install CD). We will use this information to determine the path name on the OPTFILE parameter of the RSTOBJ command.

STEP2: Using information found in the Central Site Distribution guide, we can now determine the needed path name for the object.

Q5769SS1450240005 can be broken down into the form of Q5769SS1450XX0005 where:

 450 = Release of OS/400 (VRM)
                  XX = Language ID

Now it is time to put the file label ID into the correct path name format. For this example, the path name would be the following, where:

  450 = Release of OS/400 (VRM)
                 NN  = Level indicator (most often 00)
                 XX   = Language ID
                 YY   = Sequence on PID media (NOT on *SAVSYS tape) 

Q5769SS1/Q450NNXX/Q00/QYY is the format that we will use to determine the path. Using this format gives us the path name that we were looking for, Q5769SS1/Q4500024/Q00/Q05.

STEP3: Use the RSTOBJ command to restore the object:

RSTOBJ OBJ(TELNET) SAVLIB(QSYS) DEV(OPT01)
OPTFILE('Q5769SS1/Q4500024/Q00/Q05')

If you require further assistance with this or any portion of this is unclear then you will need to get with our Save/Restore team. This is the team that assisted me with the above commands. Simply restoring TCPIP will not restore Telnet because it is part of the Base OS. You can see this by doing a WRKOBJ OBJ(TELNET) OBJTYPE(*CMD). Take Option 8 (Display Description). The library is QSYS.


This was first published in April 2001

Dig deeper on Performance

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close