ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Read Response using getOutputData of Program Call

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Read Response using getOutputData of Program Call

    Hi,

    I have a created a simple CL program which takes 2
    params and provides date in julian format. This program I got from wikipaedia. This is under library KRISHNAN1/MBANKFU.

    Execution procedure is as below: CALL PGM(MBANKFU) PARM(´04180´ ´ ´ ´M´). This program returns on console as IN=04180 OUT=062804.

    Now, I am calling the above program using java (JT400 API - ProgramCall). Though I believe that this CL Program is getting executed on this AS400 system, however, I am unable to read / receive the output using getOutputData ().

    I am a novice to AS400 environment and execution, thereby making R&D extremely difficult.

    Request you to guide as to how I can read / receive output response from the above explanation i have given..

    Regards,
    Krish
Working...
X