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

How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1258


What is notcat 2 - gs?

1470


Explain how can values be passed from the job stream to an executable program?

1231


what is SOC4 error?

1228


In sms datasets, what is the function of the dd avgrec keyword?

1097


what is a jcl?

1139


which parameter is used to check the syntax of a jcl without executing it?

1363


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2230


what are the various stages of job processing?

1284


How dummy is used in jcl?

1149


Explain about LMQUERY�give a dialog information about a data set

1452


how to do automated restart when a job abends?

1385


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

1263


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1838


What is NOTCAT ?

1334