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
 
Pass data in JCL as we cant use DD SYSIN * in procedures

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
arunswap

New User


Joined: 23 Mar 2006
Posts: 13

PostPosted: Mon Apr 17, 2006 10:30 am    Post subject: Pass data in JCL as we cant use DD SYSIN * in procedures
Reply with quote

How to pass data in JCL as we cant use DD SYSIN * in procedures?
Back to top
View user's profile Send private message

prakash271082

New User


Joined: 09 Sep 2005
Posts: 53

PostPosted: Mon Apr 17, 2006 11:50 am    Post subject:
Reply with quote

Hi,
This Could be solved in 2 ways,

1. You Could use PARM, I suppose.
2. You Could override SYSIN DD DUMMY statement of your proc during call time of that proc.

Hope this helps.
Back to top
View user's profile Send private message
tray_cts

New User


Joined: 07 Apr 2006
Posts: 1

PostPosted: Mon Apr 17, 2006 3:28 pm    Post subject: Re: Pass data in JCL as we cant use DD SYSIN * in procedures
Reply with quote

If you want to pass dynamic data (like dates) in the proc, i believe you can use the K9801GCP program
Back to top
View user's profile Send private message
vidhyanarayanan

New User


Joined: 23 Dec 2005
Posts: 52

PostPosted: Mon Apr 17, 2006 4:49 pm    Post subject:
Reply with quote

hi,
to pass data externally, as far as jcl is concerned...PARM is the best choice.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Apr 18, 2006 4:16 am    Post subject:
Reply with quote

In the proc code //sysin dd ddnam=anyddn
After the proc invoking exec stmt code //anyddn dd * followed by your sysin data. Not sure if you have to code //stpname.anyddn dd *.

You can test or look it up.
Back to top
View user's profile Send private message
ektaag

New User


Joined: 21 Mar 2007
Posts: 14
Location: bangalore

PostPosted: Thu Jul 03, 2008 6:07 pm    Post subject:
Reply with quote

hi

i am trying to implement thi s
In the proc code //sysin dd ddnam=anyddn
After the proc invoking exec stmt code //anyddn dd * followed by your sysin data. Not sure if you have to code //stpname.anyddn dd *.



but getting error

not able to locate my file ex-- anyddn
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 03, 2008 9:38 pm    Post subject:
Reply with quote

Hello,

If you post your proc and your execution jcl with the override, we can probably help.
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

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