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: 1742
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: 10872
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 Need help for File Aid JCL to extract... Compuware & Other Tools 23
No new posts Calling an Open C library function in... CICS 1
No new posts DATE2 function SYNCSORT 15
No new posts Help on PL/I jsonPutValue function PL/I & Assembler 8
No new posts optim extract file - SAS DB2 2
Search our Forums:

Back to Top