IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to pass the PARM Value thru JCL to 'Telon-Cobol' Pgm


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ajaikumar

New User


Joined: 27 Jan 2007
Posts: 9
Location: Hyderabad

PostPosted: Wed Dec 17, 2008 6:37 pm
Reply with quote

Hi!

I want to pass the indicator Value like 'D'(Daily) or 'M'(Monthly) through PARM in JCL. I am using the Telon-Cobol Program. How to declare the linkage section and variable in Telon-Cobol Progarm.


Ajai
Back to top
View user's profile Send private message
ajaikumar

New User


Joined: 27 Jan 2007
Posts: 9
Location: Hyderabad

PostPosted: Wed Dec 17, 2008 6:59 pm
Reply with quote

Hi Superk,

Could you please let me know why this topic is moved from Mainframe COBOL to CA Products where I need help in Cobol-Telon Pgm. Please correct me if my subject is wrong.


Thanks,
Ajai
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Dec 18, 2008 12:14 am
Reply with quote

Probably because TELON is a CA product.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Dec 18, 2008 12:33 am
Reply with quote

Hello,

Do you have jcl that executes a telon/cobol program? If yes, posting the jcl may help us help you.

If not, how is a telon program executed in batch?
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Dec 18, 2008 12:38 am
Reply with quote

What does the TELON documentation say about run time parameters?
Back to top
View user's profile Send private message
ajaikumar

New User


Joined: 27 Jan 2007
Posts: 9
Location: Hyderabad

PostPosted: Thu Dec 18, 2008 10:24 pm
Reply with quote

Below is the excute JCL for Cobol Telon Program. Before changes, the Value of 'D' or 'M' is taken from the last char of Jobname. Now I am trying to pass this indicator thru' PARM'. This is where I need to know how to pass PARM from JCL to Cobol-Telon Pgm.


Code:


//XXXXXXXD JOB CLASS=4,MSGCLASS=H,
//             COND=(8,LT),MSGLEVEL=(1,1),NOTIFY=&SYSUID   
//JOBLIB   DD  DISP=SHR,DSN=LOADLIB       
//S070     EXEC PGM=IKJEFT01,DYNAMNBR=20                       
//PARM01I  DD DSN=GRQ.PC.DATECARD,DISP=SHR                     
//PRINT01O DD  DCB=Dateset Name,DISP=SHR   
//SYSUDUMP DD  SYSOUT=H                                         
//SYSTSPRT DD  SYSOUT=*                                         
//SYSPRINT DD  SYSOUT=*         
//SYSOUT   DD  SYSOUT=*         
//*                             
//SYSTSIN  DD  *                 
  DSN SYSTEM(DB2Q)               
  RUN PROGRAM(AB712P) -         
      PLAN(AB712)               
  END                           
/*                               


Thanks,
Ajai
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Dec 18, 2008 11:03 pm
Reply with quote

Try
Code:
  RUN PROGRAM(AB712P) -         
      PLAN(AB712) PARMS('D')
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top