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?

Answers were Sorted based on User's Feedback



how you read control card into array?..

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

how you read control card into array?..

Answer / kssb78

Yes Shweta is correct.

The alternate way to execute is to read the inputs in
control card DD statement SYSIN is using a ACCEPT statement
and move it into a working storage variable

Later using a subscript / index we can move the value into
an array.

Is This Answer Correct ?    0 Yes 1 No

how you read control card into array?..

Answer / lu

I don't understand your question ???? give an example...
Array is a table using by subscript...

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

What is amode(24)?

0 Answers  


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

0 Answers   Accenture,


What is the difference between index and subscript?

5 Answers   Visa,


Can you call an OS VS COBOL pgm from a VS COBOL II pgm ?

3 Answers   Microsoft,


How do define Dymanic array in cobol how do u define single demensional arry and multidymensional arry in ur cobol.

4 Answers   Cap Gemini,


A s9(4). B v9(4) value 0.21 can i move this?

3 Answers  


How To move a value to an array using move verb?

3 Answers   IBM,


How can you add a particular field/coloumn in copybook?

3 Answers   ADP, DELL, L&T,


what is s013u000 for?

1 Answers   Hewitt,


I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?

1 Answers   CTS, HCL,


Whats the difference between search & search ALL?

3 Answers   IBM,


why we are using picture clause in the cobol programs?

2 Answers  


Categories