Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

IN-STREAM DATA NOT ALLOWED IN PROC how can come out from
this problem

Answer Posted / cj

Instream data cannot be given in catalogued procedures.
They can be coded in main jcl or instream procedures only.

So code a catalogued proc named PROC1 as given in eg. below:

//PROC1 PROC
//STEP1 EXEC PGM=progname (prog. that needs instream data)
//DATA1 DD DDNAME=SYSIN,DCB=(BLKSIZE=80,BUFNO=3)

In main JCL, execute this catalogued procedure, but
override the ddname DATA1 with your instream data. Code as
given in eg. below:

//STEPA EXEC PROC1
//DATA1.SYSIN DD *
{lines of data}
/*

I hope this helps.

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jcl in mainframe, and how many types of jcl statements are there for a job?

1109


what is JCL?

1100


Are there any set of rules for the names of the steps used in a job? What are they?

1013


For what purpose steplib and joblib are used ?

1072


Define concatenating?

1052


What is NOTCAT ?

1271


what is use of dsn parameter in dd statement?

1112


What are the parameters that are used in creating a gdg?

1145


Explain the job statement in jcl?

1109


When space is allocated for an output dataset, what units can be used?

1197


In job processing, what happens in conversion stage?

1144


What are steplib and joblib?

1119


Is their any limit for data sets?

1116


Is it possible to code instream data in a PROC?

1249


what is the purpose of coding class parameter in job statement?

1201