OS/400 Questions


Create CMD
Hello Experts, I want to create my own CMD te override RTVNETA SYSNAME(&MYSYSTEM) Why? Because we have an net I5 and we have some old (not supported) software that needs a specific system name.  This software use RTVNETA to get the name. I want to create an CMD in an other Library (different from QSYS) [...]

Answer Question   |  March 31, 2012  8:23 AM
CMD, CMD RTVNETA, CMD Source, OS/400
asked by:
10 pts.

Monitor for job status DSPA
I have to reset user sessions frequently on our iSereis. The job status is usually DSPA. How can I monitor for DSPA job status in QINTER on an iSeries and automatically end the sessions?

Answer Question   |  March 31, 2012  5:19 PM
AS/400 Monitoring, AS400 Job Status, DSPA, OS/400
asked by:
15 pts.

Stand alone system being recovered to an LPAR
When we do a D/R recovery from our stand alone 820 to a an LPAR on 870 we get an error that the OS keys is invalid. Have been told that when we load the LPA there is a step that will eliminate this issues. Does any know hat it is?

Answer Question   |  March 31, 2012  9:32 PM
AS/400 LPAR, Disaster Recovery, Disaster recovery (DR) testing, iSeries 820, LPAR, OS/400
asked by:
5 pts.

Backup started running 2x longer
Hello, We have a 3573 L2U drive which we are using as a standalone tape drive.  Our backup jobs started running nearly twice longer than our normal run time last week.  IBM SSR replaced the drive, cable and terminator.  However, still after replacing, backup still ran long.  Do you have any idea what is causind [...]

Answer Question   |  March 31, 2012  5:32 PM
Backup, IBM, IBM Ultrium 3580, OS/400, SSRS
asked by:
105 pts.

Way to restrict by user id, permissible libraries for WRKQRY
On OS400, Is there a way to manage limitation for permissible librairies when they use the command WRKQRY? And for those limited librairies can we assign a limit or quota to the storage usage per user id ou user group to avoid creation of enourmous files? Thanks in advance for reply on that,

Answer Question   |  March 31, 2012  3:55 PM
AS/400, AS/400 commands, AS/400 Library, OS/400, WRKQRY
asked by:
5 pts.

CPYFRMIMPF error
I am using the CPYFRMIMPF to copy data from a TXT file into a DB file.  The delimiter is a ‘]’ character.  The command runs but no records are copied.  The error says “0 records copied from member TXT.  Copy command ended because of error”.   Upon further review I found “The copy did not complete [...]

Answer Question   |  March 31, 2012  9:16 PM
CPYFRMIMPF, iSeries database, OS/400, V5R4
asked by:
70 pts.

Posts SFTP
When you run the SFTP command from Qshell iseries mode I am presented with the following message: Connecting to 10.100.3.9 … No user can not access! This message occurs with all users but a few. I want to know what caused this message, thanks

Answer Question   |  June 23, 2011  2:14 PM
AS/400 SFTP, OS/400, Qshell, SFTP
asked by:
45 pts.

Wanna see IP or device name in OS/400?
How can I see the device name or IP address of a person who disabled user profile by hitting wrong passwords in OS400 environment?

Answer Question   |  June 22, 2011  2:34 PM
AS/400, AS/400 user profiles, IP address, OS/400
asked by:
10 pts.

QFAX software on a v5r4 system – Creating cover page
Does anyone know how within the IBM QFAX Software that the cover page is created.  The user guide implies that its done with either an overlay or the printer file.  In either case we can not locate it and its needs to be changed.

Answer Question   |  May 27, 2011  1:27 PM
AS/400, i5/OS, iSeries, OS/400, V5R4
110 pts.

Get an *AFPDS spool file to a non iSeries system not a a PDF
Is it possible and what is the easiest way to get an *AFPDS spool file to a remote non iSeries system to be printed.  Other than as a PDF, I know that will work. 

Answer Question   |  May 27, 2011  5:39 PM
AFPDS, AS/400 Spool Files, OS/400, Spool files
asked by:
30 pts.

OS/400 commands: RTVDSKINF
I do a RTVDSKINF and when collection completed a PRTDSKINF *SYS. On page 1 of the report it summarizes disk usage by object type with the ‘% of disk’ for each object type. However, the TOTAL does not add up to 100%. I get 90.16% on my report. Any ideas why????

Answer Question   |  May 2, 2011  2:01 PM
AS/400 command functions, AS/400 commands, OS/400, OS/400 command line, RTVDSKINF
asked by:
10 pts.

CLP parameters overwritten
Hi.  When I call a CLP, either from command line or from a sbmjob with alpha parameters, if I don’t fill up the whole string length it’s trailing blanks are overwritten by the next parameters.  Example:  PGM PARM(&P1 &P2 &P3)  DCL VAR(&P1) TYPE(*CHAR) LEN(50)  DCL VAR(&P2) TYPE(*CHAR) LEN(50)  DCL VAR(&P3) TYPE(*CHAR) LEN(50)  ….  CALL XX [...]

Answer Question   |  April 4, 2011  12:20 PM
CL programs, CLP, OS/400, Parameters, SBMJOB
asked by:
15 pts.

OS/400 command line
Is there a way not to display the OS400 command line when working with output queue? Our Internal auditor came up with recommendation to omit the OS/400 comman line while working with an output queue since access to it will result to security exposure.

Answer Question   |  March 31, 2011  5:59 AM
OS/400, OS/400 command line, RPG
asked by:
5 pts.

Operating System/400 With Error
Hi friends, I have a error on MYSYSTEM model 520 below, If I install the last CUME C8267530 and Hiper and products the problem was solved ?                       Display Installed Licensed Programs                                                                                System: MYSYSTEM   Licensed  Installed                                                         Program   Status       Description                                          5722SS1   *COMPATIBLE  OS/400 – Library QGPL                                5722SS1   *COMPATIBLE  OS/400 – Library QUSRSYS                             5722SS1   *ERROR       Operating System/400                                [...]

Answer Question   |  March 31, 2011  10:13 PM
IBM System i 520, OS/400, OS/400 Error, PTFs
asked by:
670 pts.

AS400 Query
I ran query of all user profiles. I need to change the UPPWCD UPPSOD field from YYMMDD to MMDDYY. You cannot change it in Specify report column formatting. That only handles numeric. Can someone get back to me ASAP? Thanks!

Answer Question   |  March 4, 2011  4:02 PM
AS/400 Query, OS/400
asked by:
40 pts.

Subfile in As400
Hi below pasted is my code which i am running but i am getting an error ‘Attemp to write duplicate records” DDS A*                                                         A                                      CF03(03)            A                                      DSPSIZ(24 80 *DS3)  A          R RECSFL                    SFL                 A  30                                  SFLNXTCHG           A            UPC           20   B  9  3TEXT(‘UPC 2ND ITEM’) A  31                                  DSPATR(UL)          A*                                                         A          R RECCTL                    SFLCTL(RECSFL)      A*                                                         A                                      OVERLAY             [...]

Answer Question   |  February 22, 2011  9:20 AM
AS/400, AS/400 Subfiles, Duplicate records, OS/400
asked by:
635 pts.

CPYFRMIMPF CPF2845 reason code 10
OS/400 V5R2. I’m running a CPYFRMIMPF to import a file from the IFS drive to a database file. this is the command: CPYFRMIMPF FROMSTMF(‘/FTP/CPA/NUMERICT’) TOFILE(ASPONITE/SCPA00_TMP) MBROPT(*REPLACE) RCDDLM(*CRLF) DTAFMT(*FIXED) STRDLM(*NONE) RMVBLANK(*NONE) FLDDFNFILE(ASPONITE/TBX400 SCPAFDF) RPLNULLVAL(*FLDDFT) The to-file and the field definition file both exist and match each other. And yet I get CPF2845 reason code 10, which [...]

Answer Question   |  February 17, 2011  1:35 AM
AS/400 command functions, AS/400 commands, CPF2845, CPYFRMIMPF, OS/400, V5R2
asked by:
15 pts.

Error in subfile programming
I am encountering a very annoying problem. I have a subfile program and i am writing both SFL and SFLCTL and then reading the subfile. But as soon as the my code read the subfile READ D123, it gives me an error saying “Session or device error occurred in file D123″ and then in DUMP [...]

Answer Question   |  February 10, 2011  5:19 PM
AS/400 Subfiles, AS/400-Subfile Programming, AS400 Subfile, OS/400
asked by:
635 pts.

QZRCSRVS too many jobs
Hello. What could be the reason to have too many QZRCSRVS jobs in the log history. This job runs 24000 times per day. DSPLOG job(QZRCSRVS) msgid(cpiad09) doesn’t diplay anything which means no remote connection. This make crazy, why this job run for few seconds 3 to 4 times per second ????  Only these jobs are [...]

Answer Question   |  February 2, 2011  3:25 PM
AS/400, AS/400 jobs, iSeries V6R1, OS/400
asked by:
250 pts.

EVault Software IBM i Agent 6.1
We are using FIS Horizon and we just started testing with Vault software. If anyone is using it how do you like it?

Answer Question   |  January 28, 2011  5:28 PM
iSeries, iSeries administration, iSeries V6R1, OS/400
asked by:
3,175 pts.