IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to pass the control card


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cchidhu

New User


Joined: 18 Aug 2007
Posts: 4
Location: India

PostPosted: Mon Oct 20, 2008 2:54 pm
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Oct 20, 2008 4:56 pm
Reply with quote

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
View user's profile Send private message
cchidhu

New User


Joined: 18 Aug 2007
Posts: 4
Location: India

PostPosted: Mon Oct 20, 2008 7:24 pm
Reply with quote

Thanks Garry, I have to go with SYSIN card!!!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
Search our Forums:

Back to Top