Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to pass the control card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: How to pass the control card
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: 1006
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Oct 20, 2008 4:56 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Control M - Predecessor/successor of ... SRIDEVI TANTRY Compuware & Other Tools 6 Sun May 06, 2018 10:57 am
No new posts Need better approach to create a sort... Vamshi Veludandi DFSORT/ICETOOL 8 Thu Mar 08, 2018 5:59 pm
No new posts SORT CARD ram_vizag DFSORT/ICETOOL 13 Thu Mar 01, 2018 4:55 am
No new posts can we hardcode a value in db2 load c... ram_vizag DB2 2 Wed Feb 28, 2018 11:04 pm
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us