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 

Usage of IEBGENER

 
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
deepa12
Beginner


Joined: 05 Apr 2005
Posts: 131
Topics: 64
Location: chennai

PostPosted: Tue Mar 13, 2007 8:37 am    Post subject: Usage of IEBGENER Reply with quote

i wanted to convert a pds [80 byte pds] to 80 byte PS file
I Used IEBCOPY It always creates a RECFM=VS &
Am unable to reblock it using IEBGENER
Pls suggest
_________________
deepa
Back to top
View user's profile Send private message Send e-mail
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Mar 13, 2007 8:42 am    Post subject: Reply with quote

What control info are you using for IEBCOPY and for IEBGENER? i.e. your SYSIN DD * data
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Mar 13, 2007 9:16 am    Post subject: Reply with quote

Deepa,

1. Click on the "Quick Manuals" Link at the top of this page
2. Scroll down to "utilities" section
3. Select "IBM utilities" manaul
4. Read chapter on "IEBPTPCH"

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Mar 13, 2007 10:29 am    Post subject: Reply with quote

Of course IEBGENER will do the trick by itself
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Mar 13, 2007 10:43 am    Post subject: Reply with quote

Nic Clouston wrote:
Of course IEBGENER will do the trick by itself


Nic,

Are you telling me that I can create a Sequential data set from a PDS with all the members appended ?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Mar 13, 2007 10:48 am    Post subject: Reply with quote

darn - too clever - I was thinking in terms of just unloading 1 member - apologies. Of course you could - but the SYSUT1 concatenation may exceed the limit Laughing
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Mar 13, 2007 11:34 am    Post subject: Reply with quote

you can also use the COPY function in 3.3 - COPY PDSDSN(*) to QSAMDSN

but that isn't JCL
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
dz
Beginner


Joined: 02 Apr 2006
Posts: 26
Topics: 0

PostPosted: Tue Mar 13, 2007 3:54 pm    Post subject: Reply with quote

How about using PRINTDS? I have something like that:

Code:
//*- PRE-ALLOCATE A FLAT FILE
//*--------------------------------------------------------           
//SPUFALOC EXEC PGM=IEFBR14                                           
//CARDLIB  DD  DSN=<your-flat-file>,                                       
//             DISP=(NEW,CATLG,DELETE),                               
//             SPACE=(CYL,(20,4),RLSE),                               
//             DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=27920)         
//SYSIN    DD  DUMMY                                                   
//SYSPRINT DD  SYSOUT=*                                               
//*--------------------------------------------------------       
//*- COPY ALL  MEMBERS INTO THE FLAT FILE             -       
//*--------------------------------------------------------       
//SPUFCOPY EXEC PGM=IKJEFT01,                                     
//   PARM=('PRINTDS DA(''<your-input-PDS>'') ',             
//         'TODATASET(''<your-flat-file>'') MEMBERS NOTITLE')         
//SYSOUT   DD SYSOUT=*                                           
//SYSTSPRT DD SYSOUT=*                                           
//SYSTSIN  DD DUMMY
Back to top
View user's profile Send private message
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