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

Can we use MVC instruction to move pack field to pack field....which instruction you will use and why ?

4 Answers   Amdocs, IBM,


What does LA R3,R3 ?

1 Answers   Amdocs,


How to pass the parameters from jcl to assembler program?

0 Answers  


HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM AND ALSO HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A SINGLE PROGRAM.

5 Answers   IBM, TCS,


What is maximum displacement and how to cross this limit?

0 Answers  






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

0 Answers  


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

1 Answers   HCL,


What is house keeping in assembler?

0 Answers  


Explain how to produce soc7 abend?

0 Answers  


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

4 Answers  


What is the use of trt instruction?

0 Answers  


Explain the difference between various read and find statement?

0 Answers  


Categories