MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AD return code

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
rajat_gupta
Beginner


Joined: 30 May 2007
Posts: 13
Topics: 5
Location: India

PostPosted: Mon Oct 01, 2007 3:52 am    Post subject: AD return code Reply with quote

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
View user's profile Send private message
deepeshk79
Beginner


Joined: 20 Jun 2003
Posts: 112
Topics: 48
Location: Bangalore

PostPosted: Thu Oct 04, 2007 2:07 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
deepeshk79
Beginner


Joined: 20 Jun 2003
Posts: 112
Topics: 48
Location: Bangalore

PostPosted: Thu Oct 04, 2007 2:08 am    Post subject: Reply with quote

Check if you are giving 'GHU ' OR 'GHU'.
Also what is the processing option given in your PSB ?
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group