View previous topic :: View next topic |
Author |
Message |
rajat_gupta Beginner

Joined: 30 May 2007 Posts: 13 Topics: 5 Location: India
|
Posted: Mon Oct 01, 2007 3:52 am Post subject: AD return code |
|
|
Hi All ,
Can anyone tell why the 'AD' return code is thrown by IMS(Function parameter invalid).
I am using a GHU call.
Thanks _________________ Rajat Gupta
when depressing thoughts seem to get you down
Put a smile on your face and thank God you're alive and still around. |
|
Back to top |
|
 |
deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Thu Oct 04, 2007 2:07 am Post subject: |
|
|
AD
Explanation: For call-level programs: Either the function parameter on the call is invalid or the function is not supported for the type of PCB specified in the call. Some possible reasons are:
The function parameter is invalid.
A system service call used a PCB that is not the I/O PCB.
A message GU or GN call used an alternate PCB instead of the I/O PCB.
A database call used a PCB that is not a DB PCB.
A message GU used the I/O PCB without specifying IN=trancode in the BMP JCL.
A SETS or ROLS call included the I/O area but omitted the token.
For command-level programs: A command was issued that is not supported in the environment; for example, a system service command in an online program. If the command is correct, some other possible causes are:
Referencing a DB PCB on a system service command. System service commands must reference the I/O PCB.
Referencing an I/O PCB for a database command, or not defining an I/O PCB before issuing system service commands.
Programmer Response: Be sure that the function specified is valid for the PCB specified by the request. |
|
Back to top |
|
 |
deepeshk79 Beginner
Joined: 20 Jun 2003 Posts: 112 Topics: 48 Location: Bangalore
|
Posted: Thu Oct 04, 2007 2:08 am Post subject: |
|
|
Check if you are giving 'GHU ' OR 'GHU'.
Also what is the processing option given in your PSB ? |
|
Back to top |
|
 |
|
|