Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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
Author Message
sibi Yohannan

New User


Joined: 15 Apr 2009
Posts: 46
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
References
PeterHolland

Active Member


Joined: 27 Oct 2009
Posts: 531
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: 6469
Location: Brussels once more ...

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
Moved: Fri Feb 05, 2010 12:33 pm by expat From DFSORT/ICETOOL to IBM Tools
sibi Yohannan

New User


Joined: 15 Apr 2009
Posts: 46
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

Global Moderator


Joined: 22 Apr 2006
Posts: 4081
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

Active Member


Joined: 27 Oct 2009
Posts: 531
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

Global Moderator


Joined: 22 Apr 2006
Posts: 4081
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: 4258
Location: Atlanta, GA

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1