AS/400 Questions and Answers
21 - 40 of 4760

2 subfiles side by side

hi folks i try to create a DSPF as a window and with 2 subfiles side by side within So i create 2 several windows - once for every subfile, with all OVERLAY, INVITE, USRRSTDSP and WINDOW(..... *NOMSGLN *NORSTCSR), In RPG i wrote Write Window (Main) Write CTL01 Write CTL02 Read DspFile ...

View Answer   |  Nov 20 2009  4:47 PM GMT
Subfile, RPG Language Support
asked by Schubertkpc

  5 pts.

Email message sent is printing 2 pages

I have written a process where a salesrep remotely orders a special item that we don't normally carry and it signals the buyer to order it.  When the item is ordered the system emails the salesrep. I use SNDDST with *LMSG with a short note stating the item has been ordered with item, vendor,...

View Answer   |  Nov 20 2009  3:16 PM GMT
SNDDST, RPG ILE, CLLE
asked by Filuphaze

  325 pts.

AS/400 display file

How to decide the position of Display file's constant variable dynamically. I wanted to decide the position in RPGLE program. Software/Hardware used: AS400

View Answer   |  Nov 20 2009  1:41 PM GMT
AS/400 Display File, RPGLE
asked by Rajeshece

  525 pts.

RCVJRNE command impact

Hi, I am using five different programs to monitor the changes and catch them through RCVJRNE command using EXITPGM . There are lot of other files attached to the same journal. By using the RCVJRNE command on only 1 or 2 file will have any imapct on other files? What is the impact on the performance...

View Answer   |  Nov 20 2009  12:37 AM GMT
AS/400 commands, RCVJRNE
asked by Rajsubhyd

  20 pts.

SMTP users

Do all users need their own directory entry to send emails. Is there a way for anyone to signon to the system and use a CL program that sends an email message by SNDDST.

View Answer   |  Nov 20 2009  11:58 AM GMT
Email (systems), SMTP, CL programs
asked by Stark99

  35 pts.

JDBC connection to DB2/400

Hi, We have application which runs on Java Server connects DB2/400 using JDBC connection. would like to know what is the maximumnumber of database connections supported on DB2/400 and how can I adjust this connection activity so that it is not impacting our application running on as/400 i.e. how to...

View Answer   |  Nov 20 2009  11:32 AM GMT
JDBC, DB2/400, DB/400
asked by Rajsubhyd

  20 pts.

SQLRPGLE Cursors and Recursion

I'm trying to recursively call a PI in my SQLRPGLE program. Problem is, I get an SQLCODE error of -519 and I'm sure it has to do with cursors and the prepare statement in my PI. Here's the code: pprintPrograms    b      dprintPrograms    PI      d...

View Answer   |  Nov 19 2009  11:09 PM GMT
SQLRPGLE, iSeries, SQL Cursors
asked by Dcantwell

  180 pts.

The IT Blog Top 10: Nov. 19, 2009

10. The intermediate IBM i 6.1.1 version Mark Fontecchio takes a look at IBM i 6.1.1, and answers the question of how well it fills the gap for those waiting for i5/OS. 9. Using VRDP to view VirtualBox virtual machines remotely Rick Vanover explains some important adminsitration techniques for...

Answer Question   |  Nov 19 2009  6:46 PM GMT
ITKE, AS/400, Channel
asked by Michael Morisy

  720 pts.

Fields not coming into program from screen

I've written a simple program that reads a record and displays the fields on the screen.  When I change a field for some reason it does not come into the program changed.  I put a debug after the exfmt and it shows the field on the screen as if I did not entering anything new...it shows the...

View Answer   |  Nov 19 2009  6:35 PM GMT
EXFMT operation, AS/400 commands
asked by Harrisom

  15 pts.

changing os/400 language

Hi, is it possible to change OS/400 primary language after installing it on a machine in English? If possible plz tell me the steps involved?   thanks Software/Hardware used: as/400,V5R4

View Answer   |  Nov 19 2009  2:31 PM GMT
AS/400, AS/400 Languages
asked by Ten2008

  730 pts.

how to copy column-headings from a PF

how to get column-heading names copied along with data from a PF to a flat-file? - OR - how to copy column-headings from a PF to another PF? Software/Hardware used: AS/400

View Answer   |  Nov 19 2009  10:52 AM GMT
DB2/400, Physical Files
asked by Svankipu

  55 pts.

startup program not autostarting when called in QCTL

I have a fully re-written startup program placed in my library,and for some reason if i pwrdwn/IPL or after option21 backup startup program does not autostart but if i call the program it works,the system value is set to look at mystartpgm in mylib but doesn't work instead gives message...

View Answer   |  Nov 19 2009  9:56 AM GMT
V5R4, AS/400 programming, QCTL
asked by JediK

  15 pts.

AS400 - RPGLE

I wanted move Numeric Field to Character field. I am using Free format RPGLE Program. I have used %Char to do this operation. It is moving 2 to Character field, While trying to move 02 to Character field. I am expecting '02' in Character field How to achieve this in Free format RPGLE Program?

View Answer   |  Nov 19 2009  8:02 AM GMT
RPGLE
asked by Rajeshece

  525 pts.

PicklistStrings returning a blank view when on a local replica

I have a button on a form that allows the user to select a document's values from a view. I used uiworkspace.pickliststrings to return a category of a view for selection. It works fine if using the database on the server. However, when using a local replica, the view returned is blank and I...

Answer Question   |  Nov 19 2009  5:18 AM GMT
V3R7
asked by Patagudo

  5 pts.

Move all fields in a record format at once.

How can I move all the fields of a single record format at once? I need to move fields totalling 712 positions to a single flat-file record that is also 712 positions long. I really don't want to move one-field-at-a-time into a data structure if I can help it.

View Answer   |  Nov 19 2009  1:25 AM GMT
RPG, Subfile Record Format
asked by Mahler2

  15 pts.

Why am I having such a problem copying a file.

Trying to copy a smaller file 89 bytes and one field less file to a 96 byte file that has one more field. Trying Cpyf weblibl/wcur test01/wcur mbropt(*replace) fmtopt(*map *dr op) Get a return message of 29767 records copied but receiving file is empty. Where did they the records goto?

View Answer   |  Nov 18 2009  11:35 PM GMT
RPGLE Training, RPGLE, AS/400 Data File
asked by Nitzinger

  180 pts.

Recovering deleted records

Hi friends, it´s me again (rsrsrs) I have a file journalized named (product/master) and Journal Receiver below                          Work with Journal Attributes                   ...

View Answer   |  Nov 18 2009  9:41 PM GMT
AS/400
asked by RBDSILVA

  305 pts.

Is there a way to show a printer file overlay in spooled file? I need to email a document with an overlay.

We are currently creating purchase orders with a printer file overlay. Now we need to be able to email the purchase order. (Without printing it first.) We have the ability to email spooled files. And, of course, resources are limited. Software/Hardware used: ISeries - Spool Tool

View Answer   |  Nov 18 2009  9:27 PM GMT
spooled files, AS/400 Spooled Files, Print Spool File
asked by ItsHer

  5 pts.

as/400 query printing with DBCS data

We are having some problems printing query reports since a software upgrade. The upgrade now has DBCS file data and print files. The strange thing is the reports will print on some select printers and not on others. It is very strange, some printers and set-up as *VRT Client Access and others are...

View Answer   |  Nov 18 2009  9:00 PM GMT
AS/400, Query, DBCS
asked by ToddN2000

  235 pts.

Sequel ViewPoint

I am using Sequel ViewPoint. I have a script with variables defined. I would like to check the variable value to see the value and based on the value I would like to display different views. How would I code the script to do this? Software/Hardware used: Sequel ViewPoint

Answer Question   |  Nov 18 2009  4:08 PM GMT
Scripting languages, Viewpoint, SEQUEL ViewPoint
asked by Jldunn

  5 pts.

21 - 40 of 4760