View previous topic :: View next topic
|
Author |
Message |
cchidhu
New User
Joined: 18 Aug 2007 Posts: 4 Location: India
|
|
|
|
Hi All,
I am new to assmebler. I have doubt how to pass the control card and how to process the same in assembler. My lead ask me to use control cards to pass the input from JCL, i don't know what is that? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Control cards usually means 80 byte data records which are read from a file such as SYSIN. In this case you Open, Read and Close the file.
However, passing data from JCL usually means passing parameters e.g.
Code: |
EXEC PGM=YOURPGM,PARM='DATA' |
in which case R1, by convention is pointing at the parameter(s) passed.
You need to determine which of these methods your lead wants.
Garry. |
|
Back to top |
|
|
cchidhu
New User
Joined: 18 Aug 2007 Posts: 4 Location: India
|
|
|
|
Thanks Garry, I have to go with SYSIN card!!! |
|
Back to top |
|
|
|