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

how you read control card into array?

Answer Posted / shwetha

Consider the Controll Card(Sysin) as an infile to the
program.

JS010 EXEC PGM=pgm,
REGION=0M
STEPLIB DD DSN=Loadlib,
DISP=(SHR,KEEP,KEEP)

INFILE DD DSN=xxxx.xxxx.SYSIN(control card),
DISP=(SHR,KEEP,KEEP)
(Where xxxx.xxxx.SYSIN -Sysin PDS)

Read it as an infile and download it to the Table defined
in your Program.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a scope terminator give example?

1116


How do you reference the fixed block file formats from cobol programs

1232


Name the divisions, which are available in a cobol program?

1238


What is the compute verb? How is it used?

1149


How are the next sentence and continue different from each other?

1300


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

868


What is the difference between structured cobol programming and object alternativelyiented cobol?

1255


How do you reference the following file formats from cobol programs?

1164


What is the use of intialize verb?

1257


How to print 10 to 1 if the input have only 10 digit number?

1264


Differentiate between structured cobol programming and object-oriented cobol programming.

1160


What do you understand by psb and acb?

1126


how to convert the recors form vsam file to db2 table tru file aid

3268


How many bytes S(8) comp field occupy and its maximum value?

2144


What is report-item in COBOL?

1158