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
 

 

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: 2433
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: 2433
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: 8055
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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