MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to creating DCLGEN using a JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
naveen_kj
Beginner


Joined: 03 Feb 2003
Posts: 18
Topics: 8
Location: India

PostPosted: Wed Feb 12, 2003 10:50 am    Post subject: How to creating DCLGEN using a JCL Reply with quote

Hi,

Can some one tell me how to create the DCLGEN (Declarations Generator - SQL table declarations and COBOL) using a JCL.

Any help is appreciated..

thanks
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Feb 12, 2003 5:27 pm    Post subject: Reply with quote

Naveen,

The following JCl will give you the results.

Code:

//STEP0100 EXEC PGM=IKJEFT01             
//*                                                   
//SYSTSPRT DD  SYSOUT=*
//SYSTSIN  DD  *                                       
DSN SYSTEM(XXXX)                                     
DCLGEN TABLE(TBLNAME) OWNER(OWNERNAME) ACTION(REP) -
                LIBRARY('PDS(TBLNAME)')
END                                                 
//*   


Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
naveen_kj
Beginner


Joined: 03 Feb 2003
Posts: 18
Topics: 8
Location: India

PostPosted: Thu Feb 13, 2003 8:36 am    Post subject: Reply with quote

kolusu,

The JCL is working.

thanks,

Naveen
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
vallishar
Beginner


Joined: 17 Dec 2002
Posts: 53
Topics: 14
Location: BengaLuru

PostPosted: Thu Feb 13, 2003 12:12 pm    Post subject: Reply with quote

Kolusu,

In the DCLGEN generated, can we add a prefix to each of the fields through the JCL ?

Regards,
_________________
If you're not failing every now and again, it's a sign you're not doing anything very innovative.
Back to top
View user's profile Send private message Yahoo Messenger
Himesh
CICS Forum Moderator
CICS Forum Moderator


Joined: 20 Dec 2002
Posts: 80
Topics: 21
Location: Chicago

PostPosted: Thu Feb 13, 2003 11:26 pm    Post subject: Reply with quote

Vallish,

You could refer the following link
DCLGEN Syntax

regards,
Himesh
Back to top
View user's profile Send private message Yahoo Messenger
naveen_kj
Beginner


Joined: 03 Feb 2003
Posts: 18
Topics: 8
Location: India

PostPosted: Fri Feb 14, 2003 5:35 am    Post subject: Reply with quote

Vallish,

The following JCl will add a prefix to each of the fields

Code:

//STEP0100 EXEC PGM=IKJEFT01             
//*                                                   
//SYSTSPRT DD  SYSOUT=*
//SYSTSIN  DD  *                                       
DSN SYSTEM(XXXX)                                     
DCLGEN TABLE(TBLNAME)                -
       OWNER(OWNERNAME)              -
       ACTION(REPLACE)               -
       LIBRARY('PDS(TBLNAME)')       -
       LANGUAGE(XXXX)                -
       NAME(prefix name)             -
       COLSUFFIX(YES)                -
       STRUCTURE(XXXXXX)             -
       QUOTE
END                                         
/*


Regards,

Naveen
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group