Strovent Systems
Terminal
Enterprise
Modernization
Resources
Contact
Sign in
Help
/
Terminal reference
/
IBM i sign-on, Telnet and messages
Reference
IBM i sign-on, Telnet and messages
Signing on to IBM i, Telnet server and device settings, and common CPF messages.
Search help
Signing on to IBM i
The Sign On screen, its fields, passwords, and what the first screen after sign-on is.
IBM i sign-on messages
What common IBM i Sign On messages mean, including a wrong password, an expired password, a disabled profile and a varied-off device.
IBM i Telnet automatic sign-on and the QRMTSIGN system value
How an IBM i decides whether to skip the sign-on display for a Telnet session, what each QRMTSIGN value does, and why the sign-on display usually appears.
IBM i "Cannot automatically select virtual device" (CPF8940, CPF87D7)
Why an IBM i Telnet connection closes before the Sign On display, how QAUTOVRT and a device name in use cause it, and what to ask for.
Why IBM i refuses a second sign-on (QLMTDEVSSN)
How the IBM i limit on device sessions per user works, what it counts and does not count, and how it differs from a device name that is in use.
Why an IBM i session ends or signs off when it sits idle
How QINACTITV and QINACTMSGQ end or disconnect idle IBM i sessions, why Telnet sessions often end instead of disconnecting, and how to get your work back.
IBM i Telnet connection refused, check that the Telnet server is running
When a 5250 session to IBM i is refused or never shows Sign On, check the Telnet server with NETSTAT, start it with STRTCPSVR *TELNET, and check QINTER.
IBM i CL basics
How IBM i Control Language commands are named, how to prompt them, and commands for jobs, spool files and messages.
IBM i objects, libraries and the IFS
What an object, a library and the library list are, and how IBM i names things.
IBM i "Not authorized" messages, CPF9802, CPF2182 and CPF9820
What IBM i messages CPF9802, CPF2182 and CPF9820 mean, how to see your authority, and what to ask your administrator for.
IBM i "not found" messages, CPF9801, CPF2105 and CPF9810
What the IBM i messages CPF9801, CPF2105 and CPF9810 mean, why the library list matters, and how to find which library an object is really in.
Delete spooled files and clear an output queue on IBM i
How to find, delete and clear spooled files with WRKSPLF, DLTSPLF and CLROUTQ, and which authority you need to remove someone else's output.
CCSID 65535 on IBM i, hex output and "no conversion"
What CCSID 65535 means on IBM i, why data shows up as hex in downloads and SQL tools, how the job CCSID is chosen, and how to fix it.
IBM i screen has no command line: GO MAIN, CALL QCMD and LMTCPB
No ===> line on an IBM i screen? Leave the program with F3 or F12, type GO MAIN or CALL QCMD, or ask whether your profile has LMTCPB(*YES) set.
5250 TLS stops working after an IBM i upgrade or PTF: QSSLPCL and QSSLCSL
Port 23 works but TLS on 992 fails after an IBM i change: the client and host share no TLS version or cipher. Compare QSSLPCL, QSSLCSL and the DCM settings.
Using a 3270 emulator on IBM i (why F4 prints and F-keys need PA1)
What IBM i does with a 3270 Telnet client, why PF4 prints, how to reach F1 to F24, Field Exit and Reset, and how to change the key map.
TN5250 garbage or VT100 screen after connecting to IBM i
IBM i could not agree a 5250 terminal type, so it fell back to VT100 or line mode. Set the session to TN5250 with type IBM-3179-2 or IBM-3477-FC and reconnect.
IBM i VT100 key map: F1–F24, Field Exit, Error Reset, SysReq
In an IBM i VT100 or VT220 session, F3 is Esc then 3, F12 is Esc then =, Field Exit is Ctrl-X, Error Reset is Ctrl-R and Ctrl-C opens the System Request menu.
IBM i SSH "Permission denied": home, key permissions, PASE shell
SSH to IBM i fails with Permission denied when HOMEDIR has no .ssh folder, key files are writable by others, the PASE shell is missing, or a name is too long.
IBM i equivalent of sudo: SBMJOB USER, adopted authority and profile swaps
IBM i has no sudo at the command line. Submit a batch job with SBMJOB USER(name), use a program that adopts its owner's authority, or sign on as that user.
IBM i Message Waiting light stays on: DSPMSG and delivery modes
The 5250 Message Waiting indicator means a message is on your IBM i queue. Run DSPMSG in the session that has the light, then remove messages with F11 or F16.
5250 device name already in use: find the old session and free the name
A named 5250 device stays busy while an old job holds it. Sign on again to reconnect, or find the job by its device name and end it, then stop repeats.
Save an IBM i spooled file as a PDF: CPYSPLF WSCST(*PDF) and Navigator
Turn IBM i printer output into a PDF with CPYSPLF TOSTMF and WSCST(*PDF), or Export in IBM Navigator for i, then download the file from the IFS.
Map the IBM i IFS as a Windows network drive with NetServer
IBM i NetServer shares IFS folders with Windows over the network. Find the server name, create a file share, map it as a drive, and fix sign-in problems.
IBM i sessions explained: display device, interactive job and sign-on
On IBM i, a 5250 session is a display device, and signing on starts an interactive job named after it. How device, job, user and sign-off fit together.
Automate IBM i green-screen tasks: job scheduler, SBMJOB, SSH and screen scripts
Ways to automate work you now type on an IBM i 5250 screen: a CL command in the job scheduler, SBMJOB, the PASE system command over SSH, or a screen script.
Set up TLS for IBM i Telnet on port 992: DCM, QIBM_QTV_TELNET_SERVER and ALWSSL
How IBM i Telnet gets TLS on port 992: a certificate for QIBM_QTV_TELNET_SERVER in DCM, ALWSSL on CHGTELNA, and how to check the TLS listener.
IBM i Access Client Solutions MSGGEN004 or CWBCO1034 on a TLS connection
ACS fails over TLS with MSGGEN004 "SSL peer shut down incorrectly", or IBM i Access shows CWBCO1034 and an SSL code. IBM's causes and what to check.
IBM i shells: QSH, QP2TERM or SSH, and which to use
IBM i has two Unix-style shells. QSH starts Qshell; CALL QP2TERM starts the PASE Korn shell on a 5250 screen; SSH gives you a PASE shell in a real terminal.
End a stuck IBM i job: ENDJOB *CNTRLD, *IMMED and ENDJOBABN
End an IBM i job from WRKACTJOB or with ENDJOB. Try a controlled end first, then *IMMED; ENDJOBABN is the last resort, only after 10 minutes.
IBM i job in MSGW status: find the message and reply to it
MSGW in WRKACTJOB means the job waits on a message, usually an inquiry that needs a reply. Use option 7 to see and answer it, or reply from QSYSOPR with DSPMSG.
IBM i job log missing or empty: CHGJOB LOG, LOGCLPGM and pending job logs
A job that ends normally often leaves no QPJOBLOG because of LOG(4 0 *NOLIST), or its log sits pending. Use WRKJOBLOG, change LOG to *SECLVL and set LOGCLPGM.
IBM i SSH "Connection refused" on port 22: start sshd with STRTCPSVR *SSHD and autostart it
The IBM i SSH server does not start by default. Start it with STRTCPSVR SERVER(*SSHD), check port 22 with NETSTAT, and set it to autostart with TCP/IP.
Run SQL on IBM i from a 5250 session: STRSQL, RUNSQL and RUNSQLSTM
STRSQL opens interactive SQL on the green screen. RUNSQL runs one statement from a command line or CL. RUNSQLSTM runs a script from a source member or IFS file.
Other categories
Getting started
Terminal types
SSH and Mosh
Files and printing
Scripts and auto-connect
Using the app
Subscriptions
Troubleshooting
3270 concepts
5250 terminal
VT and xterm basics
Unix shell and tmux
SSH concepts
SSH error messages
SFTP and scp
Mosh
z/OS file transfer
z/OS: TSO, ISPF and CICS
Basics and glossary
References and resources