AS/400 programming Questions


CPF511D error message in second ReadE while passing parameter
I have an external DS defined on my program. I am doing a READE operation on this file and am passing it as parameter to another program. After returning from the called program, my program again does a READE where it is failing with CPF511D error. Joblog says Parameter integrity error occurred with reason code [...]

Answer Question   |  May 10, 2013  12:51 PM
AS/400, AS/400 programming, READE
asked by:
1,905 pts.

Debugging view option
How do I identify the program that has compiled with the debug view as *SOURCE, without STRDBG?

Answer Question   |  May 8, 2013  1:42 PM
AS/400, AS/400 programming, STRDBG
asked by:
5 pts.

About programming in AS/400
I have a field in a file which is of alphanumeric type with a length of 15 and I’m going to store a string in that which is of 11 length and the string will be ‘CAS00TST01A’. Now I want to extract the letter which is at 11th position i:e ‘A’ and i want to [...]

Answer Question   |  March 11, 2013  4:15 AM
AS/400, AS/400 programming
asked by:
290 pts.

Find program name in System36
Hi All, I want find program name which is attached in a system36 Menu. How do I find it….Please give me your valuable suggestion to me. Thanks to all.

Answer Question   |  February 11, 2013  12:55 PM
AS/400, AS/400 programming
asked by:
1,240 pts.

Regarding AS/400
Hi, I want to learn AS/400. Please suggest me whether I want to learn it or not. I want to know the opportunities for AS/400.

Answer Question   |  September 10, 2012  1:51 PM
AS/400 programming
asked by:
10 pts.

Read the data from PF between dates
I want to read the all the record from the pf which are between some dates Eg: A PF has one year data let say 2011 year data, I want to read all the records from that pf which are from 01/03/2011 to 05/06/2011 dates. the PF fields are DATE,NAME,ADDRESS,P_no. Can anyone help me how [...]

Answer Question   |  August 22, 2012  1:06 PM
AS/400, AS/400 programming, DB2/400, RPGLE
asked by:
160 pts.

How can i check user last login after 3 month and disable?
In AS/400 system. My company have 600 user that use AS/400. How can i check users last login after 3 month and disable these users?

Answer Question   |  June 22, 2012  10:56 AM
AS/400, AS/400 programming, AS/400 user profiles
asked by:
25 pts.

CL script required for tape automation process
Hi All, allocated with LT04 tape unit in the physical 3584 tape library. The following scenarios to test:  • Tape properly loaded  • Improperly loaded  • No tape  • Incorrect Category  • Aborted, try to restart. CL script required for tape automation process to check the above 5 scenarios. Any help will be appreciated. Thanks [...]

Answer Question   |  February 28, 2012  3:36 PM
AS/400 - DDS, AS/400 backup, AS/400 BRMS, AS/400 hardware, AS/400 programming
asked by:
275 pts.

How to direct program in *PPSR
Hi All, In a program, a loop doing some operations… and I got some program error/file error and in *PSSR I want to handle the error then to resume the program to flow with the next record. But, how to pass the control to the loop to read from the next continution record. In Main [...]

Answer Question   |  June 2, 2011  12:25 AM
AS/400, AS/400 error messages, AS/400 errors, AS/400 programming
asked by:
Kar
425 pts.

How can I list users whose status is disabled on AS/400 ?
Hello everybody ! I have to make a cl program in order to list users whose status is disabled. I wanted to know if someone had  tips for me. Thanks

Answer Question   |  May 17, 2011  4:50 PM
AS/400 programming, AS/400 Reports, AS/400 user profiles, CL programs
asked by:
15 pts.

RTVSRC: Finding the RPG38 source
I know this is very old question but I can not find tool on internet. I have one rpg38 program compiled on V1R7. The program compiled form QRPGSRC/LIBTEST but looks like LIBTEST was deleted. Now how can I find the this RPG38 source. Thanks, Ali

Answer Question   |  May 4, 2011  2:44 PM
AS/400, AS/400 programming, QRPGSRC, RPG, RPG Program
asked by:
370 pts.

How can I tell what is calling a program in AS/400
We have a 3rd party application on our system that hasn’t been updated in years. I can see about 18 programs within the 3rd party application library that are being used on a daily basis. Is there a way I can tell what is calling those programs?

Answer Question   |  April 1, 2011  2:40 PM
AS/400, AS/400 commands, AS/400 programming
asked by:
15 pts.

Difference between Module and a Program in AS/400
Can someone please tell me how to differentiate between Module and Program in As400 just by looking at it?

Answer Question   |  January 31, 2011  4:49 AM
AS/400, AS/400 programming, OS/400
asked by:
635 pts.

AS/400 Subfile Program
A)I have a physical file named E0003 its source code is [p style=”margin-bottom:0in;margin-bottom:.0001pt;line-height: normal;mso-pagination:none;mso-layout-grid-align:none;text-autospace:none” class=”MsoNormal”>                                            UNIQUE  [span style=”font-size:10.0pt;line-height:115%;font-family:”Arial”,”sans-serif”; mso-fareast-font-family:”Times New Roman”;mso-fareast-theme-font:minor-fareast; mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA”>   20     vimal            testengineer              30,000   when i run my subfile program A60 it Gives [...]

Answer Question   |  January 20, 2011  1:12 PM
AS/400 programming, AS/400-Subfile Programming, AS400 Subfile
asked by:
470 pts.

AS/400-Program Completion – Message ID
Is there any message ID in CL to check whether a program is completed or not? Suppose I have called PGM-B from PGM-A. In PGM-A I want to check whether PGM-B is completed successfully or not. Is there any message ID for this cause.

Answer Question   |  December 30, 2010  11:29 AM
AS/400, AS/400 error messages, AS/400 programming, Program Completion
asked by:
315 pts.

How to figure out who has locked AS/400 program?
I need to find out how to tell who has the program locked. can’t have it updated if people are in a program

Answer Question   |  August 31, 2010  9:47 PM
AS/400, AS/400 Locking, AS/400 programming
asked by:
765 pts.

Tab to Output fields in DDS
I have a screen layout in DDS that only has one input field and a large number of output fields. Users can put their cursor on a few of the output fields and hit F4 to see what makes up the value of that field. I would like the user to be able to tab [...]

Answer Question   |  February 16, 2010  8:15 PM
AS/400, AS/400 programming, DDS
asked by:
35 pts.

Invoking A Menu Option From Within A Pgm
Our Operations dept type the command [Go Backup] and take option 1 Is it possible to automate these actions from within a CL pgm? Thanks Martin

Answer Question   |  February 5, 2010  11:22 AM
AS/400 programming, CL Program, CL programming
asked by:
30 pts.

Access the API using AS400
Hi, I would like to send the few tracking details in to the website and to get back the details from the web. The URl has special character like < > & ” .(for passing the values to the web) and more than 200 of length. i would need  to know is there any way like using any [...]

Answer Question   |  February 1, 2010  1:00 PM
API, AS/400, AS/400 API, AS/400 programming, CLP, RPG, URL
asked by:
180 pts.

moubtn for page up/down
Is there a way to use the red wheel in the middle of the mouse to scroll up and down on the i5?

Answer Question   |  January 4, 2010  5:34 PM
AS/400 programming, IBM i5 Bladecenter H, MouseDown Event
asked by:
20 pts.