Run JCL for DB2-Online Program

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Run JCL for DB2-Online Program

Postby eprasad629 » Thu Mar 12, 2009 3:31 pm


I'm able to run a Cobol-DB2 batch program using a Run JCL.

However, while I try to run a online program using the same run JCL, I'm getting SOC1 error.

Please find below the snippet,

DSN SYSTEM (<dsn-name>)
RUN PROG (<prog name>) -
PLAN (<plan name>) -
LIB ('Load Library name')

Could you please shed your ideas in this? Also, please let me whether we could run a online program thru RUN Jcl.

Thanks in anticipation.
Thanks & Regards,

Posts: 34
Joined: Wed Jan 07, 2009 12:48 pm
Location: Bangalore
Has thanked: 0 time
Been thanked: 0 time

Re: Run JCL for DB2-Online Program


Re: Run JCL for DB2-Online Program

Postby dick scherrer » Thu Mar 12, 2009 11:36 pm

Hello and welcome to the forum,

What is your definition of an "online program"?

Online programs depend on interaction with a terminal.

Batch programs are run without a terminal.

Why would you run an online program outside of an online environment?
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6308
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 90 times

Return to JCL


  • Related topics
    Last post