Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How sending a GDG file translated?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
vasco ferreira

New User


Joined: 12 Jul 2008
Posts: 32
Location: sintra - portugal

PostPosted: Wed Sep 01, 2010 2:39 pm    Post subject: How sending a GDG file translated?
Reply with quote

This job creates a GDG (this one made the PRDGR1.WORK.IPM.T112.GDG.G0006V00) and the objective is submitting the job VCF to the internal reader with the complete name of the GDG dsn inside.


Code:
//         INCLUDE MEMBER=$BATCH                                   
//GDG      EXEC PGM=IEFBR14                                       
//SYSPRINT DD SYSOUT=*                                         
//SYSOUT   DD SYSOUT=*                                             
//OUT      DD DISP=(,CATLG),DSN=PRDGR1.WORK.IPM.T112.GDG(+1),     
//            SPACE=(TRK,(1,1),RLSE),                             
//            DCB=PRDGR1.WORK.IPM.T112.MODEL                       
//*                                                               
//STFTCER  EXEC PGM=PFTSUE,PARM='**'                               
//INCLUDE  INCLUDE MEMBER=#FTSUE                                   
//FICHIN   DD DISP=SHR,DSN=*.GDG.OUT                               
//PARAM    DD *                                                   
CODF=GDG,ORIG=SIBS,DEST=SIBS-BK,                                   
DATA=000000,HORA=0000,RECL=2044,                                   
TIPO=SV,DISP=S,STAT=O,NUMR=000000000                               
//*   
//SUBCERL  EXEC PGM=PSUBJOB                                             
//SYSOUT   DD SYSOUT=*                                                 
//SYSABOUT DD SYSOUT=*                                                 
//SYSDBOUT DD SYSOUT=*                                                 
//JOBIN    DD DSN=NDVRCER.CER.JCL.PLAN01.PT(VCF),DISP=SHR               
//JOBOUT   DD SYSOUT=(A,INTRDR)                                         
//SYSIN    DD *                                                         
#GDG.   &DSN                                                           
//*


The problem is send the GDG dataset in the sysin.
It can submit the NDVRCER.CER.JCL.PLAN01.PT(VCF) but the GDG file doesn’t appear translated.
How could I submit the VCF with the GDG name complete?[/size]
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Sep 01, 2010 3:00 pm    Post subject:
Reply with quote

Why not address the GDS by relative generation
Back to top
View user's profile Send private message
vasco ferreira

New User


Joined: 12 Jul 2008
Posts: 32
Location: sintra - portugal

PostPosted: Tue Sep 07, 2010 7:39 pm    Post subject:
Reply with quote

Because it becomes generated with more bytes (that's how gdg works) and they are different from the precedent. This is a unique job with no variants (it's my propose).
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Sep 07, 2010 8:51 pm    Post subject:
Reply with quote

Hello,

Quote:
Because it becomes generated with more bytes (that's how gdg works) and they are different from the precedent. This is a unique job with no variants (it's my propose).
Suggest you re-post this using different wording. I (for one) have no idea what this tells/asks. . .

But be assured - many here know very well "how gdg works". . .
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Sep 07, 2010 8:54 pm    Post subject: Reply to: How sending a GDG file translated?
Reply with quote

I don't know if this is applicable, but the best way I know of resolve a relative generation into its absolute value, outside of writing a program to do so, is to use the IDCAMS PRINT command, and then extracting the name from the SYSPRINT output.
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
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 3 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us