• Remove extra spaces from a graphic or UCS2 field in RPGLE

    I am working on a requirement where I have to trim Graphic ('G') or UCS2 ('C') field in RPG program. %TRIMR is not working for these fields. A Graphic or UCS2 field is declared with a length of 15000. However, it only contains 258 character (graphic/ucs2 type). But, using TRIMR does not remove the...

    Supriyoas400190 pointsBadges:
  • MSGW in WRKACTJOB

    How to end a job in MSGW how we can give in a program all the proces to give OPT-7 in front of a job which is in MSGW & giving 'G' to end that in RPGLE /CLLE progrm that too in a scheduled time

    Sitaratnam10 pointsBadges:
  • Converting from System 36 to iSeries V5R4

    I've been landed with a project to convert a System 36 system to iSeries 520 with OS V5.4. I have never worked on a System 36 and do not know where to start. Have looked for some documentation in Red Books but could'nt find anything. Does anyone have something I can use - something like the...

    JohnDavid5 pointsBadges:
  • When doing a chain the (HI) indicator return with ‘1’. But if I do a query on the same file I can see that the record is in the file.

    I have a program in RPGIII. In the production environment the users are getting the following error message: RPG1221: (Issued update or delete in SDFBOBS0 without prior READ or CHAIN). I thought i shall put this program in my test environment and try to do the same as what the users have done in...

    KorsouRPG5 pointsBadges:
  • Parameter value in uppercase

    Hi i have a problem in entry program ,when i get parameter value its convert to upercase Ex.  i have enter Inv after go to program it become INV

    97834441841,400 pointsBadges:
  • retrieve library list

    how to retrieve library list when i pressed f4 in a field and is field has *all the it fetch all library listed in subfile

    97834441841,400 pointsBadges:
  • serviece program in rpgle

    what is serviece program in rpgle and how to use it

    Bcd5 pointsBadges:
  • Commitment Control in RPGLE Program

    Hi, Is there any way that we can handle commitment control in RPGLE program i.e. if program dumps at some point then we rollback the updates done on other files in previous steps. Actually I am calling rpgle program from outside iSeries. If any error occurs on external interface then I have the way...

    VivekSharma120 pointsBadges:
  • Dynamic Select

     What is the purpose of DYNSLT (Dynamic Select) keyword?Why do we use Dynamic Select.?

    ankit2002770 pointsBadges:
  • Initiating a job when an as/400 database is updated

    How can a job be initiated whenever a as/400 database is updated. We currently have a job that runs every hour even when there is no data to process. When there is data, it is processed then the database is cleared. Is there a way to trigger the job to run only whenever the database is...

    aderene180 pointsBadges:
  • MQ Read Message of 2 MG of as400

    I need your help about it. I need read a queue of 2 MG in platform AS/400. The varables to receive the message exceeds 65535, the maximum allowable AS/400. I have worked with pointers but I an error 2004. Error reading buffer.  The buffer has already been extended to the length of...

    Rusanto5 pointsBadges:
  • Best way to allow web app to change ship-to address

    Current pgm in RPGLE CGI works OK. I'd like to add option for user to change the existing ship-to address. I have the new "EDIT" button working in the existing display (of current ship-to) section of the html. I'm stuck on how to make the functionality work. Advice is always welcome, but an example...

    aceofdelts2,130 pointsBadges:
  • Problem in updating a IFS file content..

    Hi , i have a text file in IFS which have some data. Now after reading i want to replace all occurance of xyz with abc and update the ifs file .Everything is working fine except updation . The problem is with pointer setting , everytime the data is appended in file rather than replacing ..I am...

    munduuu435 pointsBadges:
  • open() API on V6R1

    For some reason, my RPGLE program can't create an xml stream file  on the new Power 6 (V6R1). I've tried using %trim(filename) and defining the file name as "varying" length. It works just fine on V5R4. I'd appreciate any ideas or suggestions.

    Vijayo25 pointsBadges:
  • Indicator Off with RPG

    How can we put all indicator off in single statement or in rpg code (It might be RPGIII Or IV)

    Pankaj112265 pointsBadges:
  • INZSR with RETURN & INLR

    Hi There, How INZSR will work with RETURN & *inLR *ON. 1:->I mean Pgm A is calling Pgm B.Pgm B is using INZSR & RETURN .So how INZSR  will work during the 2nd call to PgmB .I mean when Pgm B got called 2nd time then control will pass to INZSR or Not? 2:->Pgm A is calling Pgm B.Pgm B is using...

    Pankaj112265 pointsBadges:
  • What could be the reson for OVRDBF and OPEN on file is not working in RPGLE program.

    Hi All, Can anyone please help me with below issue. The is a program abend in our production system in RPGLE program and with in that following operations happening, but i found errors while running program as below. following are the breif Sequence of operations written in RPGLE: 1. File(FMABCF)is...

    Mohan K695 pointsBadges:
  • Reading only the active records in a flat file

    I have a physical flat file which has thousands of deleted records. (I can't get exclusive use of the system to do a reorg) I am doing a sequential read of the file because the file only has a few active records. However, it is taking the program awhile to finish and I'm guessing it is because the...

    GHENDER200 pointsBadges:
  • Message status

    Hi, Can any one please tell me what are all the different job statuses in as400 like MSGW,CNDW,EVTW,DEQW,DLYW and what do they actually stand for?

    Knowledgeseekerone30 pointsBadges:
  • How many types of Data Area are there in RPGLE

    How many types of Data Area are there in RPGLE..

    Sidd30 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