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

"skip" doesn't work in my Progrram


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Tue May 29, 2007 12:24 pm
Reply with quote

Hi

Following is my pgm&result, it seems that "skip" doesn't work.
is there anybody can give me a brief direction?
many thanks!

Program:

*PROCESS GONUMBER,ATTRIBUTES(FULL);
PMAIN:PROCEDURE OPTIONS(MAIN);
PUT SKIP LIST('LINE1');
PUT LIST('LINE2') SKIP(2);
PUT LIST('LINE3') SKIP(3);
END;

Result:
LINE1
LINE2
LINE3
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Tue May 29, 2007 2:51 pm
Reply with quote

Is this result on paper or in the print dataset. If the latter did you check the cariage control character?
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Wed May 30, 2007 8:09 am
Reply with quote

thx for your reply.

I used "sysprint" to display the result first time, the skip doesn't work;
but when I tryed to use a sequential file instead of the "sysprint" as a output file, it woked as well,

could you explan a little about this issue?
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu May 31, 2007 1:53 am
Reply with quote

JCL please icon_wink.gif
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Thu May 31, 2007 11:04 am
Reply with quote

Code:
                       
// SET MEMBER=TEST4                                   
//*                                                   
//STEP01 EXEC IEL1CL                                 
//PLI.STEPLIB DD DSN=MSSGXY.PDS.PLI,DISP=SHR         
//PLI.SYSIN DD DSN=MSSGXY.PDS.PLI(&MEMBER),DISP=SHR   
//LKED.SYSLIB DD DSN=MSSGXY.PLI.LOD(&MEMBER),DISP=SHR
//            DD DSN=SYS1.CEE.SCEELKED,DISP=SHR       
//LKED.SYSLMOD DD DSN=MSSGXY.PLI.LOD(&MEMBER),DISP=SHR
//*                                                   
//RUNGO EXEC PGM=&MEMBER                             
//OUTFILE1 DD DSN=MSSGXY.PLI.OUTFILE1,DISP=SHR       
//OUTFILE2 DD DSN=MSSGXY.PLI.OUTFILE2,DISP=SHR       
//STEPLIB DD DSN=MSSGXY.PLI.LOD,DISP=SHR             
//PLI.SYSIN DD *   
/*                   
//SYSPRINT DD SYSOUT=*
//                                                       


Many thanks!
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu May 31, 2007 3:02 pm
Reply with quote

What happens when you assign FBA in the DCB of the file to be printed?
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Fri Jun 01, 2007 11:22 am
Reply with quote

It also worked fine.
It won't work if and only if when I use sysprint as an output.
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Wed Jun 06, 2007 2:58 pm
Reply with quote

Is there anybody can give some explanation about this issue???
I am very interest in this.

thanks.
Back to top
View user's profile Send private message
anbesivam

New User


Joined: 22 Aug 2006
Posts: 5

PostPosted: Fri Jun 08, 2007 7:22 pm
Reply with quote

It seems there is a patch available for this.

Please check following link for further information. It seems your problem is smilar to that.

http://www-1.ibm.com/support/docview.wss?uid=isg1PQ62463
Back to top
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Mon Jun 11, 2007 7:48 am
Reply with quote

That's it!
Thanks a lot!!
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 5
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
No new posts Using PARM=('JPn"&SYMBOL&quo... DFSORT/ICETOOL 2
Search our Forums:

Back to Top