How to pass instream data in sysin with Assembler?

Answers were Sorted based on User's Feedback



How to pass instream data in sysin with Assembler? ..

Answer / albert n

You will need to open de file SYSIN via a DCB and read the
data via GET commands. The data in the PARM field is passed
via register 1. Any dataset you want to use in Assembler
you will need to open. There are no automatic allocation.

Is This Answer Correct ?    7 Yes 0 No

How to pass instream data in sysin with Assembler? ..

Answer / munna

In jcl
//SYSIN DD *
A
B
C

it will receive in assmbler code thru R01(it contain the
address of data) first 2 byte contain the length of data
and actual data will be stored from 3rd byte.

Is This Answer Correct ?    5 Yes 11 No

Post New Answer

More Assembler Interview Questions

how to access VSAm file

2 Answers   EDS, IBM,


How do you round the addition or subtraction of two numbers in assembler? what does the following code do? AP WKUR,=P'5' where WKUR is a label

3 Answers   CSC, IBM,


What is base register?

23 Answers   IBM, Infosys,


how to pass the parameters from jcl to assembler pgm?

0 Answers   IBM,


Why do we use "drop"? What does "using" do?

4 Answers  






What is icm instruction?

0 Answers  


how to produce SOC7 abend

1 Answers   EDS, IBM,


Explain about maximum displacement?

0 Answers  


How to pass instream data in sysin with Assembler?

2 Answers   ANZ, IBM,


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

0 Answers  


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

6 Answers   CSC, HCL, IBM,


How do you initialize a register to 0000?

10 Answers   HCL,


Categories