Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: How to pass the PARM Value thru JCL to 'Telon-Cobol' Pgm
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    Post subject: Reply to: How to pass the PARM Value thru JCL to 'Telon-Cobo
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    Post subject:
Reply with quote

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

Site Director


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

PostPosted: Thu Dec 18, 2008 12:33 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us