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 we can retrieve the instream data in SYSIN ?

Answers were Sorted based on User's Feedback



How we can retrieve the instream data in SYSIN ?..

Answer / amarnadh reddy

Use Accept in procedure division.
Example :
WORKING-STORAGE SECTION.
01 empno. Pic x(05).
01 empname pic x(15).
01 empsal pic 9(10).
PROCEDURE DIVISION.
................
PERFORM ACCEPT-PARA.
..............
ACCEPT-PARA.
ACCEPT EMPNO.
ACCEPT EMPNAME.
ACCEPT EMPSAL.

In JCL :
...........
............
//sysin dd *
001
aaaa
330000
/*

Is This Answer Correct ?    11 Yes 1 No

How we can retrieve the instream data in SYSIN ?..

Answer / guest

SYSIN DD *
values

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Assembler Interview Questions

Explain how to produce soc7 abend?

0 Answers  


What is the use of trt instruction?

0 Answers  


Can we use an equated value as operand for an MVC instruction? Reason for the same

8 Answers   IBM,


Why can only 256 bytes be moved from one address to another in a MVC?

6 Answers   CSC, HCL, IBM,


Is it possible to access some memory location (Ex: VAR1 DS P) without using Base Displacement?

1 Answers   HCL,


Explain how to initialize a register to 0000?

0 Answers  


What is need of start 0? In steed of can we use anyother numerics? If we use what will happen?

0 Answers  


How many maximum base registers we can have in a program?

0 Answers  


Explain about maximum displacement?

0 Answers  


How do you initialize a register to 0000?

10 Answers   HCL,


Why do we have multiple base registers in certain programs?

4 Answers   IBM,


how to retrieve the instream data in sysin?

0 Answers   IBM,


Categories