Problems in a self refreshing subfile
I created a self refreshing subfile in rpg using data queue. Consider the scenario where i am typing a text on the screen and at that time some data arrives at the data queue. The control will come back to the program and process the record. All the text i have typed will be gone. [...]
Answer Question
| July 2, 2006 4:49 AM
RPG, RPGLE
I created a self refreshing subfile in rpg using data queue. Consider the scenario where i am typing a text on the screen and at that time some data arrives at the data queue. The control will come back to the program and process the record. All the text i have typed will be gone. [...]
Operating Console
Hi I have operations console running on a laptop which is directly connected to my I-Series. All runs okay until the laptop powers down(for variety of reasons), when i power it on again it will not connect to the I-Series without doing an IPL of the I-Series. I get the message “Connecting Console” and it [...]
Answer Question
| July 5, 2006 2:52 AM
AS/400, Backup & recovery, DataCenter, DB2 Universal Database, Security
Hi I have operations console running on a laptop which is directly connected to my I-Series. All runs okay until the laptop powers down(for variety of reasons), when i power it on again it will not connect to the I-Series without doing an IPL of the I-Series. I get the message “Connecting Console” and it [...]
folders and documents
Is there a way for a program to find out if a folder contains any documents (we will not know a document name). We need to know if the folder is empty or if it contains any documents.
Answer Question
| December 10, 2009 4:30 PM
Application development, AS/400, CLP, RPGLE
Is there a way for a program to find out if a folder contains any documents (we will not know a document name). We need to know if the folder is empty or if it contains any documents.
project idea
hello sir, i’m a final year comp. engg. student.from pune univ. actually i’m looking for a project idea for my academic. if u can specify any plz help me so.
Answer Question
| December 10, 2009 12:28 PM
AS/400
hello sir, i’m a final year comp. engg. student.from pune univ. actually i’m looking for a project idea for my academic. if u can specify any plz help me so.
Data mapping errors when reading records with time fields…
I’m trying to access records from a file that has eight fields defined with the time attibute. When I examine the data held in these fields they are mostly set to *LOVAL i.e. 00.00.00 in *ISO format which according to the RPGLE reference manual is an allowable value. However, when my program attempts to read [...]
Answer Question
| November 22, 2010 9:51 AM
Application development, DB2 Universal Database, RPGLE
I’m trying to access records from a file that has eight fields defined with the time attibute. When I examine the data held in these fields they are mostly set to *LOVAL i.e. 00.00.00 in *ISO format which according to the RPGLE reference manual is an allowable value. However, when my program attempts to read [...]
Code Software
Just upgraded my PC’s WDSc to version 6.0 (IBM Rational Software Development Platform). In the process, my PC Tech removed all previously installed elements of WDSc and, apparently, also removed my CODE editor (part of the older CODE tools) which is not an integrated part of the software. It has been on my PC for [...]
Answer Question
| July 6, 2006 8:27 AM
AS/400
Just upgraded my PC’s WDSc to version 6.0 (IBM Rational Software Development Platform). In the process, my PC Tech removed all previously installed elements of WDSc and, apparently, also removed my CODE editor (part of the older CODE tools) which is not an integrated part of the software. It has been on my PC for [...]
CR/LF
I am loading a flat file in an RPGLE program. The file will be downloaded to a server and converted to .txt and .dbf. The receipient, a benefits provider, states in the file specifications that their must be a carriage return/linefeed at the end of each record. Can you provide some direction on how to [...]
Answer Question
| December 10, 2009 10:45 AM
RPGLE
I am loading a flat file in an RPGLE program. The file will be downloaded to a server and converted to .txt and .dbf. The receipient, a benefits provider, states in the file specifications that their must be a carriage return/linefeed at the end of each record. Can you provide some direction on how to [...]
Extracting details from timestamps…
I have a timestamp field from which I need to extract the date portion into a packed(7,0) field in *cymd format and the time portion into a packed(6,0) field in *hms format. We’re running V5R3. What is the neatest way to achieve this?
Answer Question
| November 21, 2010 6:54 AM
RPGLE
I have a timestamp field from which I need to extract the date portion into a packed(7,0) field in *cymd format and the time portion into a packed(6,0) field in *hms format. We’re running V5R3. What is the neatest way to achieve this?
Writing in a specific output queue in C/400
Dear all, I need one more time your help… Well, I’m starting to learn C/400 programmation and I would like in my program to log all my traces in a specific output queue (not in the standard QPRINT output queue). I found a solution by changing the default output queue and using the simple printf… [...]
Answer Question
| June 21, 2006 6:19 AM
Application development, AS/400, CLP, Printing
Dear all, I need one more time your help… Well, I’m starting to learn C/400 programmation and I would like in my program to log all my traces in a specific output queue (not in the standard QPRINT output queue). I found a solution by changing the default output queue and using the simple printf… [...]
Client Access or iSeries connection
We have had someone attempting to sign on to our iseries using Client Access or iSeries Access and they use the wrong password too many times with the wrong password, on the small window that comes up before the greenscreen signon. The user name was of someone who was out sick that day so I [...]
Answer Question
| July 11, 2006 1:00 PM
AS/400, PC/Windows Connectivity
We have had someone attempting to sign on to our iseries using Client Access or iSeries Access and they use the wrong password too many times with the wrong password, on the small window that comes up before the greenscreen signon. The user name was of someone who was out sick that day so I [...]
Using Secure Shell (ssh)
I have to submit a remote command from the AS/400 to run on a UNIX system. I am told by security admin. that I can only use Secure Shell(ssh). Both the AS/400 and the UNIX server are within the firewall. I do not know where to start. Does OS/400 V5R3 have this capability? Do I [...]
Answer Question
| June 20, 2006 10:00 PM
AS/400, Database, DataCenter, DB2, Desktops, Development, E-business, Management, Microsoft Windows, Networking, Oracle, OS, Security, Servers, SQL Server
I have to submit a remote command from the AS/400 to run on a UNIX system. I am told by security admin. that I can only use Secure Shell(ssh). Both the AS/400 and the UNIX server are within the firewall. I do not know where to start. Does OS/400 V5R3 have this capability? Do I [...]
Connect Direct product
I file an IFS directory on my AS/400 under /root/test I need to use connect direct to move my file to a mainframe but I am running into an error finding the file when I run my direct connect. I have sent database file before but the ifs directory setup is giving me problems.
Answer Question
| June 19, 2006 10:54 AM
AS/400, DataCenter, PC/Windows Connectivity
I file an IFS directory on my AS/400 under /root/test I need to use connect direct to move my file to a mainframe but I am running into an error finding the file when I run my direct connect. I have sent database file before but the ifs directory setup is giving me problems.
Epson Printers and the AS400
I have 10 Epson LQ2180 printers attached to my AS400 over a VPN. Over the past few weeks, 5 of these printers have been causing problems. The printer prints a document, then leaves the status as SND at the top of the print list. This stops any other prints being produced. If you hold the [...]
Answer Question
| June 19, 2006 4:49 AM
AS/400
I have 10 Epson LQ2180 printers attached to my AS400 over a VPN. Over the past few weeks, 5 of these printers have been causing problems. The printer prints a document, then leaves the status as SND at the top of the print list. This stops any other prints being produced. If you hold the [...]
Message Id RNX0105…
I have a program written in free format RPGLE that is executed as a called procedure from within a CLLE program. It has one parameter of char(1). When this program gets exectued I’m getting the RNX0105 error message which states “A character representation of a numeric value is in error.” before a single line of [...]
Answer Question
| December 10, 2009 9:25 AM
AS/400, RPGLE
I have a program written in free format RPGLE that is executed as a called procedure from within a CLLE program. It has one parameter of char(1). When this program gets exectued I’m getting the RNX0105 error message which states “A character representation of a numeric value is in error.” before a single line of [...]
Run Remote Job
Greetings from New Jersey, USA. I hope you can help me find a way to run a job on a UNIX server from the AS/400. The situation is that Job A runs on the AS/400 and after it completes, a Job B has to run on the UNIX machine. At present we have an employee [...]
Answer Question
| June 20, 2006 12:03 PM
AS/400, CLP, DataCenter, Email, PC/Windows Connectivity, Security, Servers, Systems management software
Greetings from New Jersey, USA. I hope you can help me find a way to run a job on a UNIX server from the AS/400. The situation is that Job A runs on the AS/400 and after it completes, a Job B has to run on the UNIX machine. At present we have an employee [...]
Send Commands between two ISeries Machines
Is there a way to send commands between two ISeries to call programs and responses to eachother. What I am trying to figure is how to call a program on another machine, and also send data to that machine that it needs to process. What we have is our main system and a backup system. [...]
Answer Question
| December 10, 2009 4:32 PM
DataCenter, RPGLE
Is there a way to send commands between two ISeries to call programs and responses to eachother. What I am trying to figure is how to call a program on another machine, and also send data to that machine that it needs to process. What we have is our main system and a backup system. [...]
Legal size output thru a printfile in a RPG program
how to print legal size output from RPG programs.
Answer Question
| June 14, 2006 12:51 PM
Application development, Printing, RPGLE
how to print legal size output from RPG programs.
AS/400 Spool Files not Saving
Non of my spool files are going to *SAV after printing. How can I change this default to save spool files. Tommy
Answer Question
| December 10, 2009 11:59 AM
AS/400
Non of my spool files are going to *SAV after printing. How can I change this default to save spool files. Tommy
commitment control and activation grp in ILE
I am new to AS/400, can you a link or resource that talks about commitment contrl and activation group briefly.
Answer Question
| December 10, 2009 11:12 AM
RPGLE
I am new to AS/400, can you a link or resource that talks about commitment contrl and activation group briefly.
Calling CL program fron a C/400 program?
Dear, I’m very new in C/400 developement and I’m facing an issue. I’ve some CL program that I would like to call in my C/400 program… Well, ok, I can use the function “error=system(…)”… but my CL program as to return me some information. Here is my CL prgram: PGM PARM(&queue &queue_lib &sens) DCL &queue [...]
Answer Question
| November 21, 2010 6:30 AM
Application development, AS/400, CLP, Web development
Dear, I’m very new in C/400 developement and I’m facing an issue. I’ve some CL program that I would like to call in my C/400 program… Well, ok, I can use the function “error=system(…)”… but my CL program as to return me some information. Here is my CL prgram: PGM PARM(&queue &queue_lib &sens) DCL &queue [...]





