• AS/400, RPG, ILE, DB2/400

    Hi Group, Please let me know.... How to analyze the DUMP of RPG in AS/400? What are the steps involved? Thanks & Regards, M

    mvrkrishna555 pointsBadges:
  • Help regarding RPG programs

    I want to do a project in RPG, here is my concept. I have a specific product which was containing some functionality and this product was used by some customers. I want to code a tool which will show the info like Full customer info (which functionality were used by customer). Functionality info...

    sivakesava285 pointsBadges:
  • GMT timestamp

    I am creating an XML document using RPG and I need to output a timestamp in GMT format : YYYYMMDDThhmmssZ The date will need to end up looking like this: 20131003T210212.001Z. Can anyone tell me how to do that in an RPG program on the iSeries?  Thank you.

    DStaats25 pointsBadges:
  • Duplicate key on access path.

    I have a physical file PF1 with some key fields(K1,K2,K3). PF1 has say 5 logical files with different keys(K1,K2...K5) I am trying to update only a field of PF1(that field is not a key in PF1) using SQL(stored procedures) PF1 has unique keyword mentioned.But the update is not made on key fields....

    anuppdas105 pointsBadges:
  • Retrive Day from a field which holds date

    I have a file which has a field say FieldA which is of type 10A. It holds date in Format DD/MM/YYYY. Through an RPG program, I'm reading this file and when the Day in FieldA is a Saturday/Sunday I need to perform some set of logic. How can I extract the day from FieldA?

    RamvishakRamesh2,505 pointsBadges:
  • RPG array

    How can I declare array in RPG?

    prblomes25 pointsBadges:
  • Comments missing after copying

    Hi all, We have a common source physical file QRPGLESRC in lib Qbbb  for our Project. In this, almost all RPG Members are having comments for understanding the program. Well, when I have a copy to my own Source file Qxxx in another Library Qyyy to change the program according to new requirement,...

    Sai4AS4001,420 pointsBadges:
  • How to control order of jobs run in batch

    In this user's CL program, he has 3 jobs and he wants to submit all jobs in qbatch. The catch is he wants to run the third job after the first and second job have already completed. How can he control this? -- Michelle Davidson, editor, Search400.com

    MichelleDavidson435 pointsBadges:
  • Compiler options

    I need an example of compiling an RPG PROGRAM specifying PGMINFO(*pcml) and INFOSTMF

    COOPERL10 pointsBadges:
  • Convert C Prototypes to RPG

    I need to interface our payroll progam to Vertex Q Series payroll tax software. Vertex is written in C and our payroll programs are in RPGLE. Does anyone know what the RPG prototype to this function would be? PREFIX tVprtConn POSTFIX VprtOpenPRT (char *pDataSource, char *pServerName, char *pUserID,...

    moolar20 pointsBadges:
  • Date calculation using a variable

    This is the original standard date calculation I was using. I need to change the number of months to a variable that I'm getting from a DTAARA. Value is zoned. The error I get isDate, Time or Timestamp value is not valid. I can't find a way to change the one or two digit value to a 'date' field...

    badspeller30 pointsBadges:
  • Difference between RPG & RPGILE

    What is the difference between RPG & RPGILE?

    Ambrish 82310 pointsBadges:
  • Move all fields in a record format at once.

    How can I move all the fields of a single record format at once? I need to move fields totalling 712 positions to a single flat-file record that is also 712 positions long. I really don't want to move one-field-at-a-time into a data structure if I can help it.

    Mahler215 pointsBadges:
  • Receiving an XML file to RPG

    Hi, I need to receive XML files (of fixed format) to my RPGLE program (not free format RPG) and do some calculations. Can I do this without purchasing any tools (free tools can be used)? Please let me know if anyone has done something similar. Regards, Kiron

    Kiron5 pointsBadges:
  • SFLRCDNBR

    I want to know the use of SFLRCDNBR Keyword used in Subfile . I also want any sample Code of how it is handled in the RPGLE Program?

    C.naveen09140 pointsBadges:
  • Moving a numeric field in ILE RPG

    I want to move a numeric field (15,2) to a character field of length 15. I want the character field output with decimal points... For example ...>Input-----> A=123 , B is a character If I move numeric A to character B, character OUTPUT B should be 0000000000123.00

    Fun10 pointsBadges:
  • RPG program: XML command error

    I received an XML-document via mail, I detached it and placed it into the IFS. Then I wrote an RPG-program where I used the XML-INTO command to read the XML-document. But, when I run my program I always get the error "The XML parser detected error code 302" I think there's something wrong with the...

    Guygeb45 pointsBadges:
  • Access particular members in RPG

    Suppose I have a PF with 3 members. Is it possible to do READ/WRITE operation on particular 2 members?

    Amol1235 pointsBadges:
  • How to send a large PC doc from AS/400

    I can successfully copy data from a PF to a PC doc (via CPYTOPCD) and I can successfully e-mail the resultant PC DOC from the AS400 (via SNDDST) However, when I try to e-mail a large PC Doc (2 meg) I receive about 20 e-mails with *.DTF attachments, which are virtually unreadable. Any ideas?

    Riccardi0 pointsBadges:
  • MOVEL WITH TWO DIFFRENT SIZED FIELDS

    Have a two fields f1 and f2 with sizes 30 and 15 respectively, Can i perform MOVEL f1 f2 (i have data in the first 15 positions of f1)..will this pass the data to f2.

    Sai4AS4001,420 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