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?
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?
Restore a SAVF
how to restore a savf? i have transfered a savf file from v4 to v5 using ftp? now i want to extract the objects?
Answer Question
| November 16, 2011 4:48 AM
AS/400 command functions, AS/400 commands, SAVF
how to restore a savf? i have transfered a savf file from v4 to v5 using ftp? now i want to extract the objects?
I Spec
FPF001 IP E DISK F KINFDS INFDS1 I INFDS1 DS I B 156 1590RCDCNT I 83 92 FILNAM I 93 102 LIBRAR I 129 138 MEMBER C RCDCNT DSPLY C FILNAM DSPLY C LIBRAR DSPLY C MEMBER DSPLY C SETON LR What is the meaning of the line Second in above code please explain in [...]
Answer Question
| March 31, 2012 4:25 PM
AS/400, AS/400 command functions
FPF001 IP E DISK F KINFDS INFDS1 I INFDS1 DS I B 156 1590RCDCNT I 83 92 FILNAM I 93 102 LIBRAR I 129 138 MEMBER C RCDCNT DSPLY C FILNAM DSPLY C LIBRAR DSPLY C MEMBER DSPLY C SETON LR What is the meaning of the line Second in above code please explain in [...]
*INZSR
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed? If you specify RETRN in called program, the *INZSR will not execute again. Why *INZSR will not get excuted second time…??
Answer Question
| March 31, 2012 5:35 AM
*INZSR, AS/400, AS/400 command functions
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed? If you specify RETRN in called program, the *INZSR will not execute again. Why *INZSR will not get excuted second time…??
Requester message
what is the use of *requester while sending msg?
Answer Question
| March 31, 2012 4:44 AM
AS/400 command functions, AS/400 commands
what is the use of *requester while sending msg?
How can I retrieve multi-members List to physical files
How can i retrive the Mutli members list to a Physcial file.i tried the below command. i got the error code DSPFD FILE(AMLIB/DEMOPF) TYPE(*MBRLIST) + OUTPUT(*OUTFILE) FILEATR(*PF) + OUTFILE(AMLIB/DEMOPF2) [...]
Answer Question
| March 31, 2012 8:18 PM
AS/400 command functions, AS/400 commands, Physical Files
How can i retrive the Mutli members list to a Physcial file.i tried the below command. i got the error code DSPFD FILE(AMLIB/DEMOPF) TYPE(*MBRLIST) + OUTPUT(*OUTFILE) FILEATR(*PF) + OUTFILE(AMLIB/DEMOPF2) [...]
How to clear out WRKPRB
Because of fax line failures each day, we have tons of WRKPRB entries. Anyone have a method for clearing them other than using option 8 and option 20 to close, then deleting with option 4?
Answer Question
| March 31, 2012 12:22 PM
AS/400 command functions, AS/400 commands, AS400 WRKPRB, WRKPRB
Because of fax line failures each day, we have tons of WRKPRB entries. Anyone have a method for clearing them other than using option 8 and option 20 to close, then deleting with option 4?
Find a string in AS/400
What is a way from the AS400 command line to find a file or string of text. As an example I want to find xy400flr I want to see where the program resides and what menu it is in.
Answer Question
| July 7, 2011 8:55 PM
AS/400 command functions, AS/400 commands, AS400 Data Definitions
What is a way from the AS400 command line to find a file or string of text. As an example I want to find xy400flr I want to see where the program resides and what menu it is in.
AS/400 symatrax telnet
how can i make as400 symatrax telnet system display the sign on srceen
Answer Question
| June 7, 2011 12:56 PM
AS/400 administration, AS/400 command functions, AS/400 Display File, Telnet
how can i make as400 symatrax telnet system display the sign on srceen
Compare files in AS400
When i compare two files using CMPPFM command, i am getting message as request failed. This is because files were having huge volume of data. It was showing file exceeds 112498 records. Is there any other way to compare files of large volume of data in AS400. Please let me know.
Answer Question
| June 7, 2011 6:42 PM
AS/400 command functions, AS/400 DB2, AS/400 File Sharing, CMPPFM
When i compare two files using CMPPFM command, i am getting message as request failed. This is because files were having huge volume of data. It was showing file exceeds 112498 records. Is there any other way to compare files of large volume of data in AS400. Please let me know.
COPYTOPCD Command
I m copying the File from my AS/400 system to PC usng command COPYTOPCD. But after copying all the numeric feilds are containing zunk chacters. Anybody know what can be th issue
Answer Question
| May 26, 2011 9:16 AM
AS/400 command functions, AS/400 commands, CPYTOPCD
I m copying the File from my AS/400 system to PC usng command COPYTOPCD. But after copying all the numeric feilds are containing zunk chacters. Anybody know what can be th issue
SETLL and READ
Hi, I have the following problem: I need to make SETLL and READE for several LF based on 1 PF by selection. Is it any smart way to do it without to duplicate the READE and %eof() for each LF? Thank you.
Answer Question
| May 20, 2011 11:49 AM
AS/400 command functions, AS/400 commands, RPGLE Program, SETLL
Hi, I have the following problem: I need to make SETLL and READE for several LF based on 1 PF by selection. Is it any smart way to do it without to duplicate the READE and %eof() for each LF? Thank you.
Access AS400 Query Print Definitions
I need to generate a report that shows the output type and the name of the output device found in the print definitions of a designated query. Since there are a lot of queries to check, I need to get access to the query print definitions without using WRKQRY option 6. I would be happy [...]
Answer Question
| May 2, 2011 4:53 PM
AS/400 command functions, AS/400 commands, AS/400 printing, WRKQRY
I need to generate a report that shows the output type and the name of the output device found in the print definitions of a designated query. Since there are a lot of queries to check, I need to get access to the query print definitions without using WRKQRY option 6. I would be happy [...]
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
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????
Detaching spool file with AS/400 command
Hi i want to detach job from a spool file . I tried CHGJOB SPLFACN(*DETACH) command but it detaches all the spool files for a specific job . My requirement is to detach a particular spool file from job . Please help
Answer Question
| April 5, 2011 5:43 AM
AS/400 command functions, AS/400 commands, AS/400 output files, AS/400 Spooled Files, CHGJOB
Hi i want to detach job from a spool file . I tried CHGJOB SPLFACN(*DETACH) command but it detaches all the spool files for a specific job . My requirement is to detach a particular spool file from job . Please help
QPNQRY start over
Is there a CL command to restart/reset an Open Query from the beginning ? I could repeat the OPNQRYF command, but that’s silly if a single command does the same thing Mike
Answer Question
| March 21, 2011 4:16 PM
AS/400 - CL Command, AS/400 command functions, CL Commands, OPNQRYF
Is there a CL command to restart/reset an Open Query from the beginning ? I could repeat the OPNQRYF command, but that’s silly if a single command does the same thing Mike
Return a value from an AS400 Command
I created a command that will be called in various CL programs. The command does some work and then is supposed to return a value. I can step through the program and see the value is being populated, but the value is not returned to my initial CL program What do I need to do [...]
Answer Question
| March 17, 2011 6:32 PM
AS/400 command functions, AS/400 commands, AS400 CLP, V5R4
I created a command that will be called in various CL programs. The command does some work and then is supposed to return a value. I can step through the program and see the value is being populated, but the value is not returned to my initial CL program What do I need to do [...]
Comment the compile time values in AS/400
HI, I am using compile time array. I NEED TO COMMENT THE VALUES SPECIFIED which i specified after ** i can able to comment E spec but the values i cant….
Answer Question
| April 2, 2012 7:49 AM
AS/400 administration, AS/400 command functions, AS/400 compile
HI, I am using compile time array. I NEED TO COMMENT THE VALUES SPECIFIED which i specified after ** i can able to comment E spec but the values i cant….
Create a calender using RPG
my requirement is to create a calender using rpg.first it show the present date calender,after user select month,year.then it show that month calender.please give example code
Answer Question
| February 18, 2011 10:49 AM
AS/400, AS/400 administration, AS/400 command functions, RPG
my requirement is to create a calender using rpg.first it show the present date calender,after user select month,year.then it show that month calender.please give example code





