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 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm

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