IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What is the Extract Function in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dharmaraok

New User


Joined: 10 Mar 2011
Posts: 45
Location: india

PostPosted: Wed Jun 14, 2017 9:12 am
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: 870
Location: The Universe

PostPosted: Wed Jun 14, 2017 9:26 am
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: 1689
Location: Tiruppur, India

PostPosted: Wed Jun 14, 2017 11:02 am
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 www.tutorialspoint.com/jcl/jcl_procedures.htm
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Moderator


Joined: 14 Mar 2007
Posts: 10714
Location: italy

PostPosted: Wed Jun 14, 2017 1:21 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts JCL to extract repeating records DFSORT/ICETOOL 6
No new posts DB2 - row_number function - Need 1st ... DB2 5
No new posts CA Sysview - JCL or Rexx - Read or Ex... CA Products 4
No new posts REXX tool to extract all files starti... CLIST & REXX 4
No new posts Extract SRCOM with PIF (IWSz) IBM Tools 0
Search our Forums:

Back to Top