AS/400
Hi, I need a CL program to display a record from a file in a loop condition. If a file exists, then it should display the records or else it should display the message file does not exists. Please help me. The program should contain dcf,monmsg,rcvf. Now I’m learning AS/400 basics.
Answer Question
| April 28, 2013 5:15 AM
AS/400, AS/400 commands, CL Program
Hi, I need a CL program to display a record from a file in a loop condition. If a file exists, then it should display the records or else it should display the message file does not exists. Please help me. The program should contain dcf,monmsg,rcvf. Now I’m learning AS/400 basics.
Authority on a JOBQ
How can I check that a particular user is authorized to a JOBQ or not?
Answer Question
| April 5, 2013 7:33 AM
AS/400, AS/400 commands
How can I check that a particular user is authorized to a JOBQ or not?
Data missing in CPYTOIMPF
I am doing CPYTOIMPF FROMFILE(MIUOALLV1/LSJSEP) TOFILE(QTEMP/LOWA5P) + TOCCSID(*FILE) STMFCCSID(*PCASCII) + STRDLM(*DBLQUOTE) FLDDLM(‘;’) + DECPNT(*COMMA)) Where LSJSEP is a file with 50 fields , total length of the fields is arounf 1500 , LOWA5P is a file with only one field of length 12000. The copy works correct and I see all the data in the [...]
Answer Question
| April 1, 2013 8:21 AM
AS/400, AS/400 commands, CPYTOIMPF
I am doing CPYTOIMPF FROMFILE(MIUOALLV1/LSJSEP) TOFILE(QTEMP/LOWA5P) + TOCCSID(*FILE) STMFCCSID(*PCASCII) + STRDLM(*DBLQUOTE) FLDDLM(‘;’) + DECPNT(*COMMA)) Where LSJSEP is a file with 50 fields , total length of the fields is arounf 1500 , LOWA5P is a file with only one field of length 12000. The copy works correct and I see all the data in the [...]
Retriving the source code
Can we retrieve the source code of an RPGLE object? If yes, please let me the procedure for it. Thanks in advance ravua
Answer Question
| March 6, 2013 8:30 AM
AS/400, AS/400 commands, RPGLE
Can we retrieve the source code of an RPGLE object? If yes, please let me the procedure for it. Thanks in advance ravua
Change the user of a JOB
Hello, I would like to know if it is possible to assign a running job to a different user than the one who ran it? Thanks.
Answer Question
| February 21, 2013 10:13 AM
AS/400, AS/400 commands
Hello, I would like to know if it is possible to assign a running job to a different user than the one who ran it? Thanks.
FTP related
We have send a file to a particular location can we see the content what we have sent, since they are saying that file they received is not in correct format? (users are saying header and footer was missed,getting some error) but could see header and footer was there from our end to the file [...]
Answer Question
| February 15, 2013 9:58 AM
AS/400, AS/400 commands
We have send a file to a particular location can we see the content what we have sent, since they are saying that file they received is not in correct format? (users are saying header and footer was missed,getting some error) but could see header and footer was there from our end to the file [...]
AS/400
I tried the command CVTRPGSRC to convert RPG source into RPGLE but getting run time error that says: “Format name in log file QRNCVTLG library QGPL not the same as format name of model. Conversion terminated.”
Answer Question
| February 7, 2013 10:32 AM
AS/400, AS/400 commands, CVTRPGSRC
I tried the command CVTRPGSRC to convert RPG source into RPGLE but getting run time error that says: “Format name in log file QRNCVTLG library QGPL not the same as format name of model. Conversion terminated.”
Outfile for WRKJOB command.
HI All, I need to print all the instance of a job in some spool file or database file. Suppose we have a daily job ABCJOB. Now if I do WRKJOB ABCJOB, it will display all the jobs with date and if I select any, it will show the spool file and other options. Now [...]
Answer Question
| February 1, 2013 9:30 PM
AS/400, AS/400 commands, AS/400 jobs
HI All, I need to print all the instance of a job in some spool file or database file. Suppose we have a daily job ABCJOB. Now if I do WRKJOB ABCJOB, it will display all the jobs with date and if I select any, it will show the spool file and other options. Now [...]
Question is about ILERPG
I have been given a module name and I’m asked to find out the name of the service programs which included that module. Is there any possible way to find it?
Answer Question
| January 29, 2013 7:27 AM
AS/400, AS/400 commands, ILERPG
I have been given a module name and I’m asked to find out the name of the service programs which included that module. Is there any possible way to find it?
AS/400-Grant User access to use the ID that is used to submit the Scheduled Job
Our AS/400 operating system is OS/400 V7R1. User need access to the USER profile which is the profile under which the Scheduled job is submitted. How do I grant access to allow this user access to this profile? Example: Bob is requesting access to be able to use the user ID, SAMBATCH. This ID, SAMBATCH, [...]
Answer Question
| January 14, 2013 2:26 PM
AS/400, AS/400 commands
Our AS/400 operating system is OS/400 V7R1. User need access to the USER profile which is the profile under which the Scheduled job is submitted. How do I grant access to allow this user access to this profile? Example: Bob is requesting access to be able to use the user ID, SAMBATCH. This ID, SAMBATCH, [...]
AS/400
I tried commitment control for that I created file salary dds is as follow A R RSALARY A NAME 10 A SURNAME 10 A SAL 10 0 created one disply file for that dds is as follow A*%%TS SD 20121218 034714 KRGUNN REL-V6R1M0 5761-WDS A*%%EC A DSPSIZ(24 80 *DS3) A R RSALDSPF A*%%TS SD 20121218 [...]
Answer Question
| December 19, 2012 6:08 AM
AS/400, AS/400 commands
I tried commitment control for that I created file salary dds is as follow A R RSALARY A NAME 10 A SURNAME 10 A SAL 10 0 created one disply file for that dds is as follow A*%%TS SD 20121218 034714 KRGUNN REL-V6R1M0 5761-WDS A*%%EC A DSPSIZ(24 80 *DS3) A R RSALDSPF A*%%TS SD 20121218 [...]
AS/400 CPYTOIMPF
While I am using CPYTOIMPF, is it possible to copy field names?
Answer Question
| November 30, 2012 5:42 AM
AS/400, AS/400 commands, CPYTOIMPF
While I am using CPYTOIMPF, is it possible to copy field names?
runrmtcmd
Getting an error like this when i attempt to run RUNRMTCMD…. RUNRMTCMD CMD(‘CHKOBJ OBJ(TASK/ESTPGM1R) OBJTYPE(*PGM)’) RMTLOCNAME(XXXXXX U *SNA) RMTUSER(XXXXXXX) Remote system rejected attempt to start program for conversation A.
Answer Question
| October 25, 2012 11:38 AM
AS/400 commands, RUNRMTCMD
Getting an error like this when i attempt to run RUNRMTCMD…. RUNRMTCMD CMD(‘CHKOBJ OBJ(TASK/ESTPGM1R) OBJTYPE(*PGM)’) RMTLOCNAME(XXXXXX U *SNA) RMTUSER(XXXXXXX) Remote system rejected attempt to start program for conversation A.
How to know which program uses a particular module?
Consider I have a module, and I have made some change to the module, (not a parameter change, but just a logic change). Now I have to update all the programs which uses this module. Without the help of any external tools or APIs is there any AS400 command similar to DSPPGMREF which will let [...]
Answer Question
| June 14, 2012 4:45 AM
AS/400, AS/400 commands
Consider I have a module, and I have made some change to the module, (not a parameter change, but just a logic change). Now I have to update all the programs which uses this module. Without the help of any external tools or APIs is there any AS400 command similar to DSPPGMREF which will let [...]
create a command
i want create a user diffined command for call perticuler program. please help me on this
Answer Question
| April 30, 2012 7:11 AM
AS/400, AS/400 commands
i want create a user diffined command for call perticuler program. please help me on this
AS400 – Command
Hi, How is STRPCCMD is working? I wanted to know the internal logic of this Command? How its getting connected with PC Commands etc.,
Answer Question
| March 17, 2012 5:33 AM
AS/400 commands
Hi, How is STRPCCMD is working? I wanted to know the internal logic of this Command? How its getting connected with PC Commands etc.,
Basic monitoring of AS/400
Hi all, I am new to AS400 and I want to know what are the basic commands and jobs that are to be monitored frequently?
Answer Question
| April 10, 2012 6:00 AM
AS/400 administration, AS/400 commands, AS/400 Monitoring, AS400 admin
Hi all, I am new to AS400 and I want to know what are the basic commands and jobs that are to be monitored frequently?
Default JRNL & JRNLRCV in AS/400?
what are the default jrnl & jrnlrcv in as400?
Answer Question
| November 16, 2011 6:57 AM
AS/400 command functions, AS/400 commands, JRNL, jrnlrcv
what are the default jrnl & jrnlrcv in as400?
DSPSYSVAL
How to convert the SPLF to Excel? Where the spool file is generated using PRTSYSINF CMD?
Answer Question
| October 13, 2011 8:59 AM
AS/400 commands, AS400 Job Status, SPLF
How to convert the SPLF to Excel? Where the spool file is generated using PRTSYSINF CMD?
What is the use of DFTWRT?
What is the use of DFTWRT?
Answer Question
| December 4, 2011 6:50 AM
AS/400, AS/400 command functions, AS/400 commands
What is the use of DFTWRT?





