Need a RPGLE program

110 pts.
Tags:
RPGLE
Hi, I want a RPGLE program which generate the next date. the input date format is YYYYMMDD...for eg. if we give today's ship date it would generate the tomorrow's ship date...it should exclude the weekend dates...I need it very urgent. Please help... simply i can say if we give today's date as input program and it should generate next date as output.. Your help is highly appreciated.

Software/Hardware used:
software

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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
  • TomLiotta
    I want a RPGLE program which generate the next date.   Okay, what problem are you having with it? Or do you just need someone to write it for you for free? This is a very trivial function. A pro should have no problem at all. Does it have to be RPGLE? What about SQL?   Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    We help, guide, teach, but we don't do your work for you.Here is an example, a little like what you need.0 http://itknowledgeexchange.techtarget.com/itanswers/rpgle-date-calculations/ Found it using Google .. AS/400 RPGLE Date FunctionsIf you have difficulties, come back with your code and we'll guide you to your solution. 
    49,960 pointsBadges:
    report
  • BigKat
    What I don't understand, is how people find this site to ask the question on without using Google, and they don't think to check there for examples first???
    8,210 pointsBadges:
    report
  • philpl1jb
    "'Does a boy get a chance to whitewash a fence every day?'" Tom Sawyer
    49,960 pointsBadges:
    report
  • SOW
    Does it have to be RPGLE? What about SQL?Hi, I wrote the program to generate the next date . In b/n I have to find the day of the week for the shipdate. I tried to use the  below SQL   C/Exec SQL Set :NumWeekDay = DayOfWeek_ISO(:MyDate)C/End-Exec but the :NumWeekDay is coming as blanks..I am using V5R3 version..... need help on this...  
    110 pointsBadges:
    report

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