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 ?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about house keeping in assembler?

1089


What does the following code do? Ap wkur,=p5 where wkur is a label?

1142


how to initialize a register to 0000?

1205


How to pass the parameters from jcl to assembler program?

1059


Explain how to pass instream data in sysin with assembler?

1144


How do you round the addition or subtraction of two numbers in assembler?

1084


What is maximum displacement and how to cross this limit?

1228


Explain about base register?

1104


how do you round the addition or subtraction of two numbers in assembler? what does the following code do? change process tool(code changes from dev to prd) the changes made to your code should be effected in live. How the process takes place. That is how can you move the code changes from development to production?

1165


Explain the difference in data type "x" and "p"?

1081


how to retrieve the instream data in sysin?

1186


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

1065


What is need of start 0?

1169


Ap wkur,=p5 where wkur is a label?

1197


explain icm instruction?

1139