Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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

Active Member


Joined: 08 May 2006
Posts: 992
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 Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us