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 pass the parameters from jcl to assembler pgm?

0 Answers   IBM,


Explain how to initialize a register to 0000?

0 Answers  


How to initialize 20,000 bytes in the Assembler..

5 Answers   Amdocs, IBM,


WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?

4 Answers   IBM, Tech Mahindra,


about ICM instruction.

4 Answers   EDS,


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

0 Answers  


how to initialize a register to 0000?

0 Answers   IBM,


What will happen if we drop the base register in the program which contains only one basereg?

0 Answers  


What is house keeping in assembler?

0 Answers  


How are data passed from jcl parm to assembler program?

0 Answers  


how to find the dump

3 Answers   EDS,


explain about maximum displacement and how to cross this limit?

0 Answers   IBM,


Categories