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

//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

1437


how to compare two datasets without using superce because output is limited to 133 bytes

2086


What is the difference between the positional and keyword parameters? Give examples.

1234


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2546


what JCL Procedures?

1228


Can we use DISP=SHR in output file in JCL

1400


how can you check if a file is empty using jcl?

1403


Explain the purpose of dd * statement in jcl?

1045


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

1818


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

1170


How would you understand error(execution phase)?

1227


Explain about LMFREE�free data set from its association with data ID

1604


What are steplib and joblib?

1148


How is the record format of an output dataset specified?

1139


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

1116