• Convert an iso date to julian date

    I'm writing an rpgle pgm and I need to convert an iso date to a julian date. They don't have taatool here. Was wondering if anyone has an example on how to do this? Thanks in advance for any help

    pjshere0 pointsBadges:
  • How can I allow a user to sign off from an AS/400 web application from the browser?

    I have built a simple web application that uses a web front end to an RPG program.  Upon entering the URL the user is forced to enter a valid AS/400 user ID and password - in a similar manner to a password protected directory on a Linux server using Apache - utilizing a pop up window to collect...

    Slypknot5 pointsBadges:
  • Float type parameter containing incorrect value after a callp

    I'm calling a procedure from an rpg pgm(V5R4). It has several parameters with different types. Before calling, they are set to 0 or blanks. After calling, all is coming back with correct value except for 1 float(8f) field. We don't have the source for the procedure however, it's been tested in C...

    kglen0145 pointsBadges:
  • Data sent to device DSP01 not valid. Negative response code is 10050122.

    Hello. My display file crashes as it can not display the hexadecimal values in my character field. Is there an easy way to replace these values (like scan) in my 79 character long field that has valid characters mixed with hexadecimal values? (Please no APIs) Thank you in advance. Regards Steven

    Cabero15 pointsBadges:
  • Command to track how many spool files users have

    I have certain users who never clean out their spool files. Is there any command I can run which will tell me how many spool files a user has out there? I am currently on version V5R4 of the operating system

    GHENDER190 pointsBadges:
  • Reorganization of V5R4 while active

    We are currently on operating system V5R4. We are a 24/7 shop and as a result, I have not had the opportunity to do a lot of reorgs. I just discovered there is a reorg while active command. Can someone tell me how to use this? Does this come with the operating system or is it a separate module we...

    GHENDER190 pointsBadges:
  • Reading (EVAL) a file in RPG

    Hi, I'm a newbie when it comes to RPG and I couldn't find anything when searching. So this is what I need.  I'm adding a record to a file but don't want any duplicates so I guess I need s simple RPG proogram that takes in one parm, reads a file (with one field) and if it comes across an exact...

    Bggas400160 pointsBadges:
  • Data Extract

    What is the easiest way to extract data from a pipe-delimited text file?

    farmgirl165 pointsBadges:
  • tutorials

    hi all. i wanted to ask if anyone knows any sites where i can download free ebooks or free tutorials. thx.

    Mmm5550 pointsBadges:
  • Subtracting Date/Time AS400 V5R4

    I am familiar with the subdur command. I have used it to get the # of days between 2 dates and the number of minutes between 2 times. How do I get the difference in minutes when the times fall on separate days. I guess I need to know how to calculate the interval between 2 times when the dates are...

    GHENDER190 pointsBadges:
  • Can RPG call a VB script

    I know very little about anything on a PC. Is there some kind of interface that could be used to execute a VB script which performs a function which returns a parm and get that parm returned back to the RPG pgm.

    CoderHal360 pointsBadges:
  • Difference between converting rpg/400 pgm to rpgile

    i have some 30 pgms in rpg/400 and a service program which i want to change this to rpgile and i have access of service program also. then what is the difference between this pgm now

    chakramdhar60 pointsBadges:
  • RPG 3 duplicate record error handler

    The physical file has a field keyed and unique. If i want to update these to RPG 3 program it is showing a duplicate record error. Does anybody have solution? tell me the command to handle this error only for RPG 3.

    Shankey5 pointsBadges:
  • Overflow in RPG

    How will u specify overflow in RPG program without indicators?

    TRam130 pointsBadges:
  • Receiving result sets in RPG (prior to release 7.1) from an SQL SP

    I have read through the IBM manual "Stored Procedures, Triggers, and User-Defined Functions on DB2 Universal Database for iSeries" for information related to returning a result set(s) from a stored procedure into an RPG program. The manual states that a Global Temporary table must be used for this...

    MapleLeafDeveloper5 pointsBadges:
  • Can you embed SQL statements in RPG program

    I am new to AS/400 and we have a project wherein we have to display the records grouped by some fields. Is it possible to write sql statements within RPG program?? How???

    Shwesmile20 pointsBadges:
  • Trying to run remote command to view AS/400 UNC and failing!

    I need some ideas here...I'm stuck. I'm running an RPG program that builds some CSV files for our accounting department. Because they love Excel, I had to make it so that the program breaks the data up into separate CSV files so as not to exceed 65,535 rows. Anyway, I am saving the stream files...

    Koohiisan5,020 pointsBadges:
  • Wierd messages in ISDB

    Hi, I have an elaborate program stream that starts with a CL which calls an RPG program that builds an OPNQRYF statement and selects records. After that, there are 9 RPG programs, one of which I’m trying to debug using ISDB. When I try to step through the RPG program, I receive a group of message...

    Floyd02320 pointsBadges:
  • Advanced Trigger question for *insert *before to allow update of field value

    I need to update a field in a record being written prior to it being written. I want to do it with a trigger because many programs write and update this file. I have tried several things and the closest I have gotten is to do a *before *insert where I can see the values of the fields in the after...

    Dcdc5 pointsBadges:
  • Need help debugging RPG program

    John is trying to debug (STRISDB) a RPG program that has a ton of copy source in it. He said debug isn't working correctly; it seems to bounce all over the place. He said he made sure that the source and object match. Is there something special he has to do to debug RPG with copy source in it? --...

    MichelleDavidson435 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