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
 
"skip" doesn't work in my Progrram

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: "skip" doesn't work in my Progrram
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Tue May 29, 2007 2:51 pm    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu May 31, 2007 1:53 am    Post subject:
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu May 31, 2007 3:02 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 8 Thu Jun 29, 2017 1:41 pm

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