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
 
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: 31
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: 563
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: 1521
Location: Chennai

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
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
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm

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