Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to pass a parameter from a proc to IMS program?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Thu Jul 17, 2008 7:56 pm    Post subject: How to pass a parameter from a proc to IMS program?
Reply with quote

Hi,

I am trying to pass two parameter from a proc to a IMS program and i am getting abend U0662.

here is the proc :
Code:

//procn1me   PROC
//***********************************************
//*          CREATE FTP CARDS                   
//***********************************************
//OR010040   EXEC IMSTBMP,                       
//           COND=(0,NE),                       
//           MBR=mbrxx,                       
//           PSB=psbxx,                       
//           PARM='&PARM1,&JOBNAME'             
//STEPLIB    DD DSN=steplibxx,



Here is the proceduer division

Code:

PROCEDURE DIVISION.                               
                                                 
    ENTRY 'DLITCBL' USING IO-PCB                 
                          ALl psb mask         
                          PARM-FIELD.       



I have declared this in linkage section .


PLease help!!
Back to top
View user's profile Send private message

Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Jul 17, 2008 9:12 pm    Post subject:
Reply with quote

Search the IMS DB/DC forum for "parm" and you will see how I got it to work. It is not as easy as I had hoped it would be.
Back to top
View user's profile Send private message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Thu Jul 17, 2008 9:21 pm    Post subject:
Reply with quote

How it is possible when DFSRC00 has no ability to pass additional information to programs called by it ??
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Jul 17, 2008 9:24 pm    Post subject:
Reply with quote

Yes, DFSRC00 has no ability to pass additional information to programs called by it. But... Youcan "CALL 'AIBTDLI' " to get the parms.
Back to top
View user's profile Send private message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Thu Jul 17, 2008 9:27 pm    Post subject:
Reply with quote

This('AIBTDLI' ) is something you have coded or it is pre existing ??

Is it very difficult to implement ??
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Thu Jul 17, 2008 10:11 pm    Post subject:
Reply with quote

I did not code it. I am almost positive it came with IMS.
You can see what I did in the posting I referred to earlier.
I hope this will link you to it.http://ibmmainframes.com/viewtopic.php?t=27935&highlight=parm
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS web service from DB2 Triggers or... kiranprasad DB2 1 Wed Dec 20, 2017 11:10 am
No new posts DUMMY When do I need add a DCB parameter Martylin JCL & VSAM 3 Fri Dec 08, 2017 7:20 am
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us