View previous topic :: View next topic
|
Author |
Message |
sibi Yohannan
New User
Joined: 15 Apr 2009 Posts: 47 Location: Bangalore
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Add the follwoing control statement :
RECORD FIELD=(80) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I use PUNCH instead of PRINT
Also, topic moved to IBM tools forum. Hardly a DFSORT issue involved here, is it |
|
Back to top |
|
|
sibi Yohannan
New User
Joined: 15 Apr 2009 Posts: 47 Location: Bangalore
|
|
|
|
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
arranges the file in the proper format, But still I am confused with the PREFORM usage.
Please advice. |
|
Back to top |
|
|
deepak040686
New User
Joined: 03 Oct 2008 Posts: 2 Location: chennai
|
|
|
|
You have to mention Record field parameter. Otherwise it will consider the default.
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Sibi- Did you notice what Peter has said in very first response to your question and try to use that? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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!? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|