View previous topic :: View next topic
|
Author |
Message |
ajaikumar
New User
Joined: 27 Jan 2007 Posts: 9 Location: Hyderabad
|
|
|
|
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 |
|
|
ajaikumar
New User
Joined: 27 Jan 2007 Posts: 9 Location: Hyderabad
|
|
|
|
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 |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
Probably because TELON is a CA product. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
What does the TELON documentation say about run time parameters? |
|
Back to top |
|
|
ajaikumar
New User
Joined: 27 Jan 2007 Posts: 9 Location: Hyderabad
|
|
|
|
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 |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Try
Code: |
RUN PROGRAM(AB712P) -
PLAN(AB712) PARMS('D')
|
|
|
Back to top |
|
|
|