AS/400 VB script to actual date

20 pts.
Tags:
AS/400
AS/400 macros
VB
Hi, I need to make a marco by VB code to put actual date in AS/400

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi Tom.

I work on AS400, I would like to make a macro in VB to fill some datas
for example actual data – like system data
below is part of VB code where I need to insted 131024  make VB code to put actual data

autECLSession.autECLOIA.WaitForAppAvailable
   autECLSession.autECLOIA.WaitForInputReady
   autECLSession.autECLPS.SendKeys “131024″

thanks in advence
Kris

Discuss This Question: 2  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

    First, why does it have to be "VB script"?

    Next, what product or program are you expecting to attach the script to? (What will run the script?)

    Next, what is an "actual date"? Are you expecting to change the system date? Do you want to set a 'job date'? Is there a file that you want to store a date in or update a date?

    Finally, are you needing to learn how to program using VB script, or did you run into a particular problem?

    Tom

    125,585 pointsBadges:
    report
  • TomLiotta

    Why is "131024" not considered to be "actual data"? It looks like actual data to me.

    If you want to send something other than "131024", then put the other string in its place. It's still not clear what you need to do. What process are you creating? Please describe how the programming is expected to work.

    Tom

    125,585 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