rpgle

How to install server Pub400 on MiWorkplace?

冷暖自知 提交于 2021-01-05 07:41:16
问题 I would like to learn the RPG language, I am registered on pub400.com and I downloaded MiWorkplace IDE. I have to create a new connection but I don't understand how to install the server. In the first step: In the Connection field: I indicate Pub400.com ? Server field: I indicate PUB400 ? User field: nek it's my username from pub400 My information is correct? In this step, I don't know what is the library to add ??? Also after the step next I thank you for your time and your explanations.

Exception referring # START NON-TRANSLATABLE while working with java itext and IBM i RPG ILE

为君一笑 提交于 2020-07-23 07:11:27
问题 working with java itext library, with a very simple test. Code passes but when closing document, it fails due to null pointer exception with java.lang.String.compareToIgnoreCase. It happens while embedding itext java code into IBM i RPGIV code. Not sure yet if it is a JNI/RPGIV conversion problem (utf8 should be converted to EBCDIC native charset) or a proper itext issue. It would help if any itext developer could confirm me if it could be a typical itext issue or not sounds like that,

Exception referring # START NON-TRANSLATABLE while working with java itext and IBM i RPG ILE

我怕爱的太早我们不能终老 提交于 2020-07-23 07:10:26
问题 working with java itext library, with a very simple test. Code passes but when closing document, it fails due to null pointer exception with java.lang.String.compareToIgnoreCase. It happens while embedding itext java code into IBM i RPGIV code. Not sure yet if it is a JNI/RPGIV conversion problem (utf8 should be converted to EBCDIC native charset) or a proper itext issue. It would help if any itext developer could confirm me if it could be a typical itext issue or not sounds like that,

How to identify and use spooled files of other user using QTCP user(COMMAND PROMPT)?

让人想犯罪 __ 提交于 2020-01-15 11:09:26
问题 Here i am connecting to an AS400 machine from command prompt using (FTP Servername) command. Every action that i do using command prompt is being submitted with QTCP user in the background. Here is the main concern: I have a command that generates spool file with the name i used to login from command prompt. I want to use that spool file content and copy to one of my library , and all these can be done with CPYSPLF command but how to do the same thing using QTCP user. My main requirement here

How to identify and use spooled files of other user using QTCP user(COMMAND PROMPT)?

倾然丶 夕夏残阳落幕 提交于 2020-01-15 11:09:10
问题 Here i am connecting to an AS400 machine from command prompt using (FTP Servername) command. Every action that i do using command prompt is being submitted with QTCP user in the background. Here is the main concern: I have a command that generates spool file with the name i used to login from command prompt. I want to use that spool file content and copy to one of my library , and all these can be done with CPYSPLF command but how to do the same thing using QTCP user. My main requirement here

How do CL commands build their exact parameter lists?

折月煮酒 提交于 2020-01-04 06:36:33
问题 I have a CMD command object that drives an RPGLE program. Because the command may be called with several different parameters, some of which are mutually exclusive, I parse the parameter passed by using a data structure in the RPGLE so I can handle the different scenarios that pass the parameters in various positions. For example, the CMD file has: CMD PROMPT('Reprint Invoices and Credits') PARM KWD(ORDERNUM) TYPE(ORDER) + PROMPT('For order number:') PARM KWD(INVDATE) TYPE(*DATE) PASSATR(*YES

very large fields in As400 ISeries database

拜拜、爱过 提交于 2019-12-24 09:35:42
问题 I would like to save a large XML string (possibly longer than 32K or 64K) into an AS400 file field. Either DDS or SQL files would be OK. Example of SQL file below. CREATE TABLE MYLIB/PRODUCT (PRODCODE DEC (5 ) NOT NULL WITH DEFAULT, PRODDESC CHAR (30 ) NOT NULL WITH DEFAULT, LONGDESC CLOB (70K ) ALLOCATE(1000) NOT NULL WITH DEFAULT) We would use RPGLE to read and write to fields. The goal is to then pull out data via ODBC connection on a client side. AS400 character fields seem to have 32K

RPGLE Print to command window

孤者浪人 提交于 2019-12-23 15:14:14
问题 hope someone can help me. I cannot see the DSPLY 'some text' output from my RPGLE program in the command window. I am using IBM Websphere development studio client for iseries to create a simple RPGLE program. I can compile the program with no errors, but cannot see the display text to see if it works when running it CALL MYLIB/TESTRPG. Here's my program code: /free dsply 'Hello World'; return; Please help. Feels like i am "learning in the dark". Thanks in advance 回答1: If you are running your

What is the best IDE to use for programming in RPGILE for the AS/400 ? Can you connect to a 400 using Visual Studios IDE?

爱⌒轻易说出口 提交于 2019-12-19 03:20:54
问题 What is the best IDE to use for programming in RPGILE for the AS/400 ? Can you connect to a 400 using Visual Studios IDE? I'm a C# programmer who fell in love with Visual Studios and also am a lot younger than allot of the folks who have been working with rpg programming for years using the pdm editor. My question, is there a way to code in RPGILE / connect to AS/400's in Visual Studios? My follow up question - is there another IDE I should be using? Dear god, all I need is intellisense!

Accessing RPG on iSeries from Java

早过忘川 提交于 2019-12-18 04:22:00
问题 Has anyone had good experiences of talking direct to RPG programs running on a V5R4 iSeries machine from Java? If so, what are the recommendations of the community, and what pitfalls should I try to avoid? From the various pieces of literature and spike solutions I have attempted it looks as though we can use ProgramCallBeans (either through PCML or xPCML), talking to the DataQueues (for asynchronous comms), or even JNI. I'm looking for something that's robust, performant, quick to develop,