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...

I have a COBOL program that Accepts some input data. How do
you code the JCL statement for this?
( How do you code instream data in a JCL? )

Answer Posted / sandeep

ONE WAY OF ACCEPTING THE DATA IS
// SYSIN DD*

VALUE1
VALUE2
*/
AND OTHER WAY YOU CAN USE PARM PARAMETER IN YOUR JCL.
IN APPLICATION PROGRAM USE THAT DATA THROUHG LINKAGE
SECTION.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function of //cntl statement?

1392


What dd statement is used to supply the name of a dataset?

1447


How can unused space allocation be returned to the system when a dataset is closed?

1559


What are steplib and joblib?

1218


State the uses of syspring, sysin, sort fields, sum fields and dummy.

1134


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1437


what is the JCL statement consists of?

1254


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

2609


what are the statements that are not valid to be included in an include statement?

1432


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1375


What do you understand by the terms: joblib and steplib?

1255


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7904


I need exexution process for JCL programs

2319


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

1292


What is the function of job statement in jcl?

1140