• Suppress/trailing blanks in a string variable through CLLE

    Is there possibilities to suppress leading and trailing blanks in a string variable through CLLE??

    shyedajmal285 pointsBadges:
  • Qualified Data Structure with Multiple Occurrance

    How do I define a Qualified DS as a *Entry Parm with Multiple Occurrences?

    Toogifts5 pointsBadges:
  • Forcing data to stay left going to excel

    InLot  Contains 123 ABC456 Eval outlot = inlot transfer file to .csv outlot '         123' 'ABC456   ' Ugly.  How do I force it to all stay to the left.  TrimL, MoveL has no effect.  It is in the translation to .csv. Thanks, Nick    

    NickHutcheson11,485 pointsBadges:
  • usage of figurative constant *loval with Setll

    I got a compilation error  "*RNF7055 30      1 Factor 1 is not valid for the specified operation." for the following piece of code Filename    if   e             disk    *loval        setll     Filename   For the same code when i changed the F spec specifying the...

    Hamsu95 pointsBadges:
  • Identifying Series of numbers in a string

    Hi,  I seek your help in designing a RPG /RPGLE program which will identify the series of numbers among the character string (like phone #s, Credit card number, etc..) Ex: If String A  = 'ABCDSSS123456DDB7BB' My result field should only fetch '123456' and not '7'.  (in this example '7' is not...

    kaperuma15 pointsBadges:
  • Read record from multi record format LF using RPGLE

    is it possible, read records from multi record format LF using RPGLE. if it is possible, how to do this... 

    TomLiotta125,585 pointsBadges:
  • RPGLE AS400

    How to create 6 digit non repeating random number in rpgle as400?

    97834441841,465 pointsBadges:
  • how can i find modified date and created date of a program

    Hi, I want to create a program to find any program created date and modified date and also want library name and source file. my input is object name

    97834441841,465 pointsBadges:
  • Hidden field in single page subfile?

    hi ,  When we open subfile source by using 2 or 5 option then hidden fiedl defination is like that? WWRRN       R   H        REFFLD(........ like that.........) there is no any position means defined at record format level. but when I'm tryung to find out that hidden field by uasing...

    SMisar130 pointsBadges:
  • How to debug Movex explorer pgm?

    Hi,  Currently I'm working on Movex ERP (Using As/400 technology).  In which RPG language is used. I'm facing some problem to explorer view so, I want to debug that pgm. Can anyone tell the process for debugging Explorer. Thanks, 

    SMisar130 pointsBadges:
  • AS400 record lock

    I have a issue with a record lock. One of the user has locked and updated the record. He has signed off from the system. I want to update the same record but an error message is displayed saying the record is still locked. Kindly help.

    AS400RPG5 pointsBadges:
  • RPGLE Getting around recursive calls

    With proceedures I read that recursive calls are allowed.  No time to get into proceedures. clp calls, pgm1. pgm1 add function displays scrn2, then calls pgm2, pgm2 calls pgm3, pgm3 calls pgm4. pgm1 update function calls pgm4. Issue is that pgm4 can call pgm1, pgm2, pgm3, pgm5, pgm6.  On the call...

    NickHutcheson11,485 pointsBadges:
  • RPGLE service

    hi This is my application use service program in this 4 modules are there all modules proto type declaration in one program, (1)addmodule (2)submodule (3)mulmodule (4)divmodule (5)calproto (6)calcp (7)calfm (8)calmain my problem is how to handled this all programs in order how to execute this all...

    madhuchowdary350 pointsBadges:
  • Two window AS/400 subfiles problem

    I have a DSPF with 2 subfiles defined as subfile windows. I need to display both of them.. I have got it to work with a full screen but no the wondow subfile. I get a error reading the first subfile. If I switch them around I get one then the other after I hit enter. Anyone have any code that works...

    RonKoontz1,810 pointsBadges:
  • File and Fields in RPG400

    I have a file that contains the file and its' respective field. In my RPG, I want to read the file as retreive from the database. And use the fields from the file for testing. For example: F Specs FILEAAA My database contains: Filename : FILEAAAA Field Name : FIELD1 Value = 30 In RPG, I want to...

    JoBi85 pointsBadges:
  • Exit Points

    Anyone know of a good book that shows/explains exit points?  I want to program and implement some exit points. I know there is a bunch online examples. I'm still that book kind of guy.   Plus anyone have a link to all the exit points that can be created? Thanks Ron

    RonKoontz1,810 pointsBadges:
  • Avoid Hard Coding in AS/400 RPGLE

    Hi, I have a task to design a grouping rule engine that must be robust and flexible for future needs.  I have a customer file with relationship code and I need to group the customers according to group types.  Each group type have different criteria. For example: 1)  Group Type ABC  - ...

    JoBi85 pointsBadges:
  • Take a date and format to MDY in RPG IV

    I have a date coming in from a file (ADDate Zoned 8 0) so it comes out 20090428 but I want to have it convert to 042809 how can I do that? thanks  

    Jaymz69765 pointsBadges:
  • Need help in moving Character field to numeric field in RPG.

    Need help in moving Character field to numeric field in RPG. I have a character field of lenght 10 in the file and its was left aligned. Now I'm reading the file and get this value and moving to a numeric field of 20 length. I'm facing a problem while moving since its was a left aligned i'm not...

    Kvrs8070 pointsBadges:
  • How to find number of bytes read/written in RPGLE?

    Dear AS/400 Lovers! In a program, I need to find the number of bytes read from a file(FILE1) & written to another file(FILE2) in RPGLE. I need to maintain this in an Audit-file for Audit purposes. Has anybody done this earlier? any help would be of great value. Thanks in Advance, Svanky

    svankipu625 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.

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