• Need help transfering iSeries DB2 file to PGP Windows program

    Augusto needs your help. He writes: "I have an RPG ILE program that creates a file in my iSeries. The CL I am running controls that the file is ready to FTP to another location. To do this I have to transfer the file to a PC/Windows environment and then use a Windows-based PGP encryption program,...

    MichelleDavidson435 pointsBadges:
  • Possible to prevent program from being called if other program is active?

    Ray has two CL programs: PgmA and PgmB. He doesn't want users to call PgmB at a command line if PgmA is active and vice versa. Is there a way to handle this in a CL? Getting rid of the command line is not an option. Let Ray know if you have any suggestions. Michelle Davidson Editor Search400.com...

    MichelleDavidson435 pointsBadges:
  • Binding Directory Signatures

    I've been researching implementing ILE RPG in our office versus OPM style coding. I've read through the ILE RPG Reference as well as the Concepts and Programmer's Guides. I now have *SRVPGMs moderately well figured out and I've defined Binding Directories for compiling my *SRVPGMS. I discovered the...

    MadDogDing0 pointsBadges:
  • program updates

    Hi everyone! I need to modify an RPG program that is called from a menu (a *MENU object). If I modify this program, do I need to recompile my menu?

    MelissaG20 pointsBadges:
  • how to read records from Externally Described file into data structure

    FAAAL21 UF A E K DISK F RENAME(REC:arec) D jkdata E DS extname(aaal21) c read arec jkdata after compiling, the error message is : RNF7701 20 The data structure is not allowed for the operation according to the book <ILE RPG Reference?SC09-2508-4?>, the above operation should be allowed. I...

    Gracema0 pointsBadges:
  • Line feed problems

    I am trying to create a file on the IFS and then ftp this to our client. He requires a line feed between certain fields and Cr/LF (x'25') at the end of the record. I do not have a problem with the end of record requirement. I am using codepage 437 on the as400 and tried x'15' to get only a line...

    Ronsurething3g0 pointsBadges:
  • RPG/400 error

    i am getting error while moving data from one field to another field. I have two files xodcfp(physical file) xounpr 8 p(2) xodstsf(physical file) xsuprc1 10a while moving data from xounpr to xsuprc1 i am gettig error.... i tried EVAL XSUPRC1 = %EDITC(XOUNPR:'X') but still getting error... please...

    Askt265 pointsBadges:
  • Convert number to roman numerals in RPG

    Hi, Can any know how to convert numbers to roman numerals in RPG or RPGLE?

    Babs30 pointsBadges:
  • Converting Float to packed

    I am trying to convert a Float8 to a 17 6 Packed and I am loosing 1/100000th of the value of the decimal portion. The packed result is 1/100000th less than the Float value. How do I stop this from happening? I am calculating taxes.

    Kcgto4550 pointsBadges:
  • Printing Array in Set Order

    I have an array that needs to hold 59 variable possibilities -3 chars each, except for 6 of them-they are only 2 each. On the last line of my RPGILE program...how can I do this to set the printing order of these elements? Not only do I get a size error, but also--the 2 char variables leave...

    JLGARSEEYA0 pointsBadges:
  • Activation Group

    I have 3 programs - A, B and C. A calls B and B calls C. A is activated i activation group- AC1. Where as B has *CALLER value in ACTGRP field. C is activated in AC2. All the three programs end with *INLR = *Off. Now after returning to command line from program A, I fire command - RCLACTGRP (AC1)...

    Vids295 pointsBadges:
  • Error message in window subfile

    i have window subfile. Error message is showing behinde the window. It should show within the window. Following is my coding A R SFLMSGW SFL A SFLMSGRCD(15) A MSGKEY SFLMSGKEY A PGMQ SFLPGMQ(10) A R SFLMSGWC SFLCTL(SFLMSGW) A OVERLAY A PUTOVR A 97 SFLDSP A 97 SFLDSPCTL A 97 SFLINZ A 98 SFLEND A...

    Zahidm0 pointsBadges:
  • passing array as parameter

    Hi all How can we pass a character array as parameter from one RPG program to another ? Regards Skapoor

    SKapoor0 pointsBadges:
  • Moving to prototypes and /FREE (correcting my last post)

    I want to change the following to using prototypes and /FREE... how do I do that? D RDCTL         E DS                  EXTNAME(RDCTL)  C     *ENTRY        PLIST                          C                  ...

    JamesR90 pointsBadges:
  • Retrieving source members

    I want to retrieve all the source physical files in a particular library and then in each source physical file, I want to retrieve all the members. Any pointers to this would help. Thanks

    A1b2c3330 pointsBadges:
  • connecting from RPG to a web browser

    we like to have a function key on a screen so when the user press that function key a web page opens up. We use free from RPG. Any information will help. Is there a website that I can use to get some info about this? Thank you,

    PG19980 pointsBadges:
  • Why a program works in debug mode, but doesn’t work at run time?

    I modified program(A) that calls another program(B)to generate a spool file. When I debug (STRDBG)program(A) and break right before the call, it works. But when I got out and end the debug mode and try to run that same program(A), no spool was generated. Then, I bebug only the called program(B)and...

    Techman250 pointsBadges:
  • Creation of logical file

    Can I create a logical file in some other library that is different from the physical file's library on which the Logical is based.. OR both PF and LF need to exist in the same library??

    A1b2c3330 pointsBadges:
  • How to automatically clear the remaining of a numeric input field with pressing field exit

    My screen has a input field where the length is 7,0. It has a default value of 50 and the user enter 91 at the beginning of the field and press accept function key. The return value to the program becomes 9100050. Is there any DDS keyword that I can use to avoid this problem? Thanks

    Tehlg010 pointsBadges:
  • SQLRPG and LVLCHK *no

    We have numerous programs on our system (iSeries...V5R2) that are SQLRPG. We recently changed one of the large physical files that one of the SQLRPG's run over. We changed the physical via a compile of the with LVLCHK *no. (fields added to the end of the file) We started to experience some issues...

    NJShoreBob0 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following