Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What is the Extract Function in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 39
Location: india

PostPosted: Wed Jun 14, 2017 9:12 am    Post subject: What is the Extract Function in JCL
Reply with quote

Hi Team,

//JS010 EXEC PROC,
// EXTRACT=|1610|
//*


What is the meaning of Extract Function in the above JCL.
Back to top
View user's profile Send private message

steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 773
Location: The Universe

PostPosted: Wed Jun 14, 2017 9:26 am    Post subject:
Reply with quote

We here cannot answer your query. There are two reasons.
  • The vertical bars in your example are not part of JCL. All you will get is a JCL error if you try to run it.
  • Presumably there is a defined procedure named PROC. This EXTRACT is a defined parameter in PROC, probably somewhat like this -
    Code:
    //PROC    PROC EXTRACT='?'
    You will have to track the usage of &EXTRACT through the procedure.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1661
Location: Tirupur

PostPosted: Wed Jun 14, 2017 11:02 am    Post subject:
Reply with quote

Code:
//JS010 EXEC PROC


If the EXEC statement does not have PGM= then it is a PROC.
Your statement is a PROC. Inside the PROC the EXTRACT symbol would be used. Extract is just name, It can be called anything like PREVIEW= or BOTTLE= or GLASS= etc..

Look here for more info https://www.tutorialspoint.com/jcl/jcl_procedures.htm
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10639
Location: italy

PostPosted: Wed Jun 14, 2017 1:21 pm    Post subject: Reply to: What is the Extract Function in JCL
Reply with quote

pretty dumb question for a person who claims JCL as a skill icon_cool.gif
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extract data from n DB2 Views automat... esmeraldo All Other Mainframe Topics 5 Wed Nov 13, 2019 12:32 am
No new posts ADDMONS function - conclusion after o... sergeyken SYNCSORT 1 Tue Nov 12, 2019 9:54 pm
This topic is locked: you cannot edit posts or make replies. ADDMONS function rnimmala SYNCSORT 24 Fri Nov 08, 2019 8:55 pm
No new posts How to place name of the file where t... danielgp89 SYNCSORT 18 Thu Oct 17, 2019 12:55 am
No new posts Call DB2 user defined function from C... Ziko13 DB2 5 Thu Mar 14, 2019 4:46 pm

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