JCL: Sysin DD* and SYSIN DD DATA

In Jcl Sysin card is very popular. We can pass data from jcl to program.

//sysin dd *

abc

/*

In the program we can accept data as follows:

ACCEPT ABCD-1 from sysin.===> so the data in sysin is pulled into ABCD-1.

But in DD* we can not give special chars like /*

//SYSIN DD DATA, ddl=”ABC’

/*

ABC

We can give special chars in DD DATA. Here ‘/*’ is input.

Advertisements

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.