IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IEBPTCH File Format


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sibi Yohannan

New User


Joined: 15 Apr 2009
Posts: 47
Location: Bangalore

PostPosted: Fri Feb 05, 2010 11:57 am
Reply with quote

Hello,

I am using the below JCL to get a combined members of Input PDS into a Sequential File.

Code:
//STEP09   EXEC PGM=IEBPTPCH                                           
//*                                                                     
//SYSPRINT    DD SYSOUT=*                                               
//SYSUT1      DD DSN=FILEINPUT,                                         
//           DISP=SHR                                                   
//*                                                                     
//SYSUT2      DD DSN=FILEOUTPUT,                                       
//            DISP=SHR                                                 
//SYSIN       DD *                                                     
       PRINT TYPORG=PO,MAXNAME=1,MAXFLDS=1                             
       MEMBER NAME=TEST                                                 
/*                                                                     
//       



the Member name TEST has the below data.

Code:
IBM MAINFRAME FORUM IS A WORLD WIDE ACCEPTED FORUM
IBM MAINFRAME FORUM IS A WORLD WIDE ACCEPTED FORUM
IBM MAINFRAME FORUM IS A WORLD WIDE ACCEPTED FORUM
IBM MAINFRAME FORUM IS A WORLD WIDE ACCEPTED FORUM
IBM MAINFRAME FORUM IS A WORLD WIDE ACCEPTED FORUM



But when I run this step the ouput looks like....

Code:
1                                                                 
 MEMBER NAME  TEST                                                 
 IBM MAIN  FRAME FO  RUM IS A   WORLD W  IDE ACCE  PTED FOR  UM*   
 IBM MAIN  FRAME FO  RUM IS A   WORLD W  IDE ACCE  PTED FOR  UM*   
 IBM MAIN  FRAME FO  RUM IS A   WORLD W  IDE ACCE  PTED FOR  UM*   
 IBM MAIN  FRAME FO  RUM IS A   WORLD W  IDE ACCE  PTED FOR  UM*   



Please advice why the data has grouped in the out. There is 2 char space is coming after every 4 chars.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Feb 05, 2010 12:29 pm
Reply with quote

Add the follwoing control statement :

RECORD FIELD=(80)
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Feb 05, 2010 12:32 pm
Reply with quote

I use PUNCH instead of PRINT

Also, topic moved to IBM tools forum. Hardly a DFSORT issue involved here, is it icon_rolleyes.gif
Back to top
View user's profile Send private message
sibi Yohannan

New User


Joined: 15 Apr 2009
Posts: 47
Location: Bangalore

PostPosted: Fri Feb 05, 2010 12:34 pm
Reply with quote

Hi,
I have tried with that and it is still not working.
I searched in net and I found that addition of the below command

Code:
PREFORM=A


arranges the file in the proper format, But still I am confused with the PREFORM usage.

Please advice.
Back to top
View user's profile Send private message
deepak040686

New User


Joined: 03 Oct 2008
Posts: 2
Location: chennai

PostPosted: Fri Feb 05, 2010 12:45 pm
Reply with quote

You have to mention Record field parameter. Otherwise it will consider the default.

Code:

 RECORD FIELD=(80)
 
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Feb 05, 2010 3:07 pm
Reply with quote

Sibi- Did you notice what Peter has said in very first response to your question and try to use that?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Feb 05, 2010 3:14 pm
Reply with quote

Anuj Dhawan wrote:
Sibi- Did you notice what Peter has said in very first response to your question and try to use that?


Anuj,

i discovered some time ago that a lot of people are NOT reading the topic comments.
To be fair it sometimes pisses me off.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Feb 05, 2010 8:34 pm
Reply with quote

PeterHolland wrote:
i discovered some time ago that a lot of people are NOT reading the topic comments.
I wonder if they react to the requirement-specifications of some project the same way!? icon_smile.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 05, 2010 8:48 pm
Reply with quote

Quote:
I wonder if they react to the requirement-specifications of some project the same way!?
From some of the questions we see, I don't wonder -- I know they treat requirement specifications the same way!
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 -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Populate last day of the Month in MMD... SYNCSORT 2
Search our Forums:

Back to Top