Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IEBPTCH File Format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
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    Post subject: IEBPTCH File Format
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: 2442
Location: Netherlands, Amstelveen

PostPosted: Fri Feb 05, 2010 12:29 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Feb 05, 2010 12:32 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: IEBPTCH File Format
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

Senior Member


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

PostPosted: Fri Feb 05, 2010 3:07 pm    Post subject:
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: 2442
Location: Netherlands, Amstelveen

PostPosted: Fri Feb 05, 2010 3:14 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Feb 05, 2010 8:34 pm    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Fri Feb 05, 2010 8:48 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us