This is the one of the way of passing data to program. There are two 
syntax's to pass data.

Syntax1 -> //MYJOB JOB (W234),'RAMESH'
//STEP1 EXEC PGM=COBPROG
//SYSIN DD *

/*

Syntax2 -> //MYJOB JOB (E345),'KRISHNA REDDY'
//STEP1 EXEC PGM=COBPROG
//SYSIN DD DATA

/*

0 comments: