Complete backup via CLP
Isn't it possible to wrap the commands issued via GO SAVE option 21 in a CLP and run it via job scheduled entry, assuming proper authority, etc.?
View Answer
| May 14 2008 10:58 PM GMT
| asked by
GLinds01
AS/400 backup, CLP, Command Line Processor
Collecting System Performance Values.
I need to get some values like total CPU usage, Number of active jobs by catagory, excessive CPU usage by a job (which may be looping), Jobs with messages waiting to be answered and similar information. I have to write these values to a file every five minutes. These values will be graphically...
View Answer
| Apr 2 2008 2:57 PM GMT
| asked by
Ashnirody
System performance, Job performance, CLP
CLP to CLLE
How can I conver a CLP progra to a CLLE program
View Answer
| Mar 18 2008 2:52 PM GMT
| asked by
Sarit
CLLE, CLP, iSeries development
RCVF In CL
I am using nested RCVF to read PF's in a CL program. The second iteration of the inner loop does not happen because the pointer is set to end of file. How do I reset the pointer to start at the begining? I have tried OVRDBF, OPNQRYF, POSDBF and deleting and recreating the PF.Thank you for your help.
View Answer
| Feb 20 2008 3:23 PM GMT
| asked by
Ashnirody
CLP, POSDBF, OPNQRYF
Writing an MQ message
I have to write a program that sends some data from MQ. I will read a data file process it, and then instead of populating a file and FTP'ing the file to a server. I need to send the data via MQ. How do I write the message to MQ, how do I set up the message length etc.
View Answer
| Feb 13 2008 3:50 PM GMT
| asked by
Andy Mansell
MQ, RPG, CLP
Daily Job Suddenly Disappeared
Hello, We have job that runs in overnight batch Mon-Friday. The users access the reports the next morning. Suddenly, on 1/18/2008 the spooled reports for the job are no longer on the system. All previous jobs are there, but since this day the job has ran daily but none of the reports are kept-users...
View Answer
| Jan 24 2008 3:10 PM GMT
| asked by
Turing2008
RPG, CLP, CLLE
transferring files from iSeries to PC
Does anyone know of a way to transfer a file from the iSeries to a pc using CLP or RPGILE? I do not want the user to have to run a client access transfer. I would like the user to be unaware that this transfer has been done. thanks
View Answer
| Jul 23 2007 2:48 PM GMT
| asked by
Laurie9
Application development, CLP, PC/Windows Connectivity
cpyfrmimpf
I have a file in my ifs that I need to copy to a physical file using theCPYFRMIMPF command. The file on the IFS is delimited with the ~ and I wouldlike for each stream of data prior to the ~ to be a record in my physical file.I have tried many combinations of RCDDLM and FLDDLM having the ~ and am...
View Answer
| Jul 6 2007 2:30 PM GMT
| asked by
dcarney
AS/400, Application development, CLP
Source Modified User
Hi All,If 4 users works on in same library in one source file, How could we know which user has modified a source?ThanksReddy
View Answer
| Jul 2 2007 5:25 AM GMT
| asked by
NarasimhaReddy
AS/400, Application development, Backup & recovery
Port Parameter on FTP command
I am trying to upload a file from our server to iSeries via FTP. Since we already use the default port (21) for another location on the server we have to use another one that is defined. When I run the command on the command line, it works perfectly. It uses the correct port. But when I run the...
View Answer
| Jun 27 2007 2:48 PM GMT
| asked by
RonBender
Application development, CLP
AS400
hi,i want to know about the answers of these questions..1.)If any data has been deleted from the PF then how can we recover that and what are the limitiations for that.2.)If in run time user want to choose the Access Path of a PF then how can it be possible.
View Answer
| Jun 20 2007 2:50 PM GMT
| asked by
AS400person
AS/400, Application development, Backup & recovery
Converting from System 36 to iSeries V5R4
I've been landed with a project to convert a System 36 system to iSeries 520 with OS V5.4.I have never worked on a System 36 and do not know where to start. Have looked for some documentation in Red Books but could'nt find anything.Does anyone have something I can use - something like the...
View Answer
| Jun 18 2007 4:25 AM GMT
| asked by
JohnDavid
AS/400, Application development, Backup & recovery
CPYTOIMPF and DB2 Field Names
I have created an outfile from a series of iSeries queries and have successfully copied it to a CSV file on a Windows server share. However, the field names don't import with the CSV file. Is there a way to import the field names as column headers in the CSV using the CPYTOIMPF command or another...
View Answer
| May 31 2007 11:19 AM GMT
| asked by
BruceU
CLP
Data Q
I need to check whether there are any data found in a data Q. Is there any way to do that? Appreciate if you can provide sample executable codes for me to test it on. Thanks...
View Answer
| May 22 2007 2:20 AM GMT
| asked by
JennyChin
CLP, RPGLE
Retrive Field Value from Database File in CL
My first attempt at reading a database file in CL. Have the following:DCLF FILE(*LIBL/DVACKWLV) RCDFMT(SCWACK) OPNID(WRK)DCL VAR(&WRK_SCADTE) TYPE(*DEC) LEN(6) DCL VAR(&FILEDATE) TYPE(*CHAR) LEN(6)RCVF OPNID(WRK)MONMSG CPF0864 EXEC(DO) /* End of file */CHGVAR ...
View Answer
| May 17 2007 11:23 AM GMT
| asked by
suzuki9380
CLP
Tracking Changes to Files
Requirement:-To track any changes to Two files A and B and write fields of A and B to an output file C. A is related to B (A.Employee = B.Employee)Could you please suggest a good approach for this?I am currently using the approach of journalling. 1. Both A and B are journalled. 2. If Any changes to...
View Answer
| May 11 2007 5:44 AM GMT
| asked by
AyeYes400
AS/400, Application development, Backup & recovery
Question on LoadAll Subfile.
Hi,How to load more than 9999 records in the case of loadall subfile??? And i don't want delete previously loaded records.Thanks,Rama Krishna
View Answer
| May 7 2007 1:58 AM GMT
| asked by
meesala
AS/400, Application development, CLP
Compiling under V5R3 for V5R4 usage
Dear,I'm trying to modify a small CL to comply with new functionalities of V5R4. This CL is used mainly to send datas when the iSeries is on Restricted State, so I've to restart the TCP.Before I was using the command STRTCP STRSVR(*NO) STRIFC(*NO) but with the V5R4, I have to use this command...
View Answer
| May 2 2007 10:55 AM GMT
| asked by
PierreLG
AS/400, Application development, CLP
Help in CL and RPG
Hi,I can execute a CL command in an RPG pgm by calling 'QCMDEXC'. But there are certain CL commands that i cannot execute using 'QCMDEXE', what are they?Thanks in AdvanceRama krishna
View Answer
| Apr 30 2007 10:23 AM GMT
| asked by
meesala
Application development, CLP, RPG
In RPG program
Hi,In RPG program i declared files. One for reading and another for Updating. Both the files are in different Library lists. How do i achieve this????Thanks in AdvanceRama krishna
View Answer
| Apr 26 2007 1:30 PM GMT
| asked by
meesala
AS/400, Application development, Backup & recovery


