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: 1004
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 restart instruction sonaliingle CA Products 2 Tue Nov 28, 2017 5:05 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm
No new posts PA02 - Programmtically control attent... dodithegreat IMS DB/DC 1 Thu Apr 06, 2017 8:33 pm
No new posts Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am

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