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

When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1457


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

8566


What parameter directs the output of the job log dataset?

1276


Explain how can the submitting users racf authority be overridden in a job stream?

1124


what are the types of abends that occur on job failure? And explain the possible causes of these

1608


how to do automated restart when a job abends?

1378


What is condition checking in jcl? Is this possible?

1112


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

2176


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1209


What do you understand by the term notcat 2 – gs?

1237


List in order the hierarchical levels of jcl?

1109


a dd statement has 2 types of parameters. Name them?

1129


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

1228


Explain the function of //jcllib statement?

1204


How can the disposition of sysout datasets be set for an entire jobstream?

1331