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? )

Answers were Sorted based on User's Feedback



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

Answer / guest

//SYSIN DD*
input data
input data
/*

Is This Answer Correct ?    11 Yes 1 No

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

Answer / mahesh

You can pass the vlaues to the cobol program using PARM
coded in the jcl

Is This Answer Correct ?    4 Yes 2 No

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

Answer / ritesh kumar

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

VALUE1
VALUE2
*/
AND OTHER WAY YOU CAN USE FILE TO ACCEPT THE DATA
INCLUDE THAT FILE INTO YOUR RUN JCL.

Is This Answer Correct ?    2 Yes 1 No

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

Answer / 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

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

Answer / pratheep

ANOTHER WAY IS
//SYSIN=*
INPUT 1
INPUT 2
//

Is This Answer Correct ?    1 Yes 1 No

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

Answer / vibhor kumar

//SYSIN DD *
VALUE1 -
VALUE2 -
/*

ALL THE SOLUTIONS MENTIONED ABOVE FORGOT TO ADD CONTINUATION
CHARACTER (-)

Is This Answer Correct ?    2 Yes 2 No

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

Answer / ekta agrawal

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

VALUE1
VALUE2
*/
and other way you can also give teh data thru SYSIN is:
// SYSIN DD DSN='DDPCN.EKTA.TEST',DISP=SHR

Is This Answer Correct ?    0 Yes 1 No

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

Answer / banupriya

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

VALUE1
VALUE2
*/
and other way you can also give teh data thru SYSIN is:
// SYSIN DD DSN='DDPCN.EKTA.TEST',DISP=SHR

Is This Answer Correct ?    1 Yes 2 No

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

Answer / shashidhar kalasannavar

You can pass the data to cobol program in three way and one
is instrem.

//SYSIN DD *
DATA1
DATA2
/*

or
//SYSIN DD DSN=SSK08.TEST.DATA,DISP=SHR


By intream you can send only 80 charecters

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More JCL Interview Questions

In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


What are the default system and catalog libraries in JCL?

2 Answers   Infosys,


List the various advantages of using jcl language?

0 Answers  


Why include statement is used in a jcl?

0 Answers  


What is MOD and when would you use it?

3 Answers  


Is it possible to define dd statements as you want?

0 Answers  


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

0 Answers  


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

0 Answers  


wht r different types of sorts ?

1 Answers   L&T,


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

2 Answers  


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

0 Answers   IBM,


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

0 Answers  


Categories