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: 917
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: 1750
Location: Tirupur, 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

Superior Member


Joined: 14 Mar 2007
Posts: 10902
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FUNCTION ADD-DURATION COBOL Programming 11
No new posts Extract records for a specific condit... DFSORT/ICETOOL 25
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts COBOL 6.4 - User Defined Function nee... COBOL Programming 6
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
Search our Forums:


Back to Top