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 are data passed from JCL parm to assembler program. And how is data passed from a calling program to an assembler called program.

3 Answers   HCL, IBM,


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

6 Answers   CSC, HCL, IBM,


What is the use of TRT instruction and how it is working?

7 Answers   HCL, IBM, Wipro,


Explain the difference between various read and find statement?

1 Answers  


How is data passed from a calling program to an assembler called program?

1 Answers  


What is base register?

23 Answers   IBM, Infosys,


Write the fetch cycle and execute cycle for following instructions:JMPNZ (jump to the given address if the accumulator not equal to zero) RET(return from a subroutine) ADB (add the contents of register B to the accumulator and save result in the accumulator).

1 Answers  


What is the use of trt instruction?

1 Answers  


Explain the difference between various read and find statement and which one should be used when for better adabas performance?

1 Answers  


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

4 Answers  


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

1 Answers  


Explain how to access vsam file?

1 Answers  


Categories