Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,392 Programmers. There are 1,401 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

JCL/DYLAKOR help

 
Reply to this topicStart new topic

JCL/DYLAKOR help, Wrote the DYLAKOR, but not working

programming4life
post 2 Apr, 2008 - 01:10 PM
Post #1


D.I.C Head

Group Icon
Joined: 7 Feb, 2008
Posts: 156



I have written a JCL using DYLAKOR 280. I ran the script in a test enviroment with all intentions of copying the code into an existing DYLAKOR. Once the code was moved to a production platform, the code quit working, and was wanting for someone to look over the portion that is not working, which happens to be the part that I wrote.

CODE
//STEP0060 EXEC  PGM=DYL280,COND=(4,LT)            
//INFILE   DD  DSN=MY.DATASET.ONE(0),DISP=OLD  
//OUTFILE  DD  DSN=MY.DATASET.TWO,DISP=OLD    
//SYS004   DD  UNIT=SYSDA,SPACE=(TRK,(45,45))      
//SYSPRINT DD  SYSOUT=*                            
//SYSOUT   DD  SYSOUT=*                            
//SYSUDUMP DD  SYSOUT=*                            
//SYS280R  DD  SYSOUT=*                            
//SYSIN    DD  *                                  
  FILE INFILE FB 133 INPUT                        
    ID     5  124                                  
    THEREC 132 2                                  
  FILE OUTFILE OUTPUT FROM OUTFILE FB 132 1320    
  OUTREC1 132 1                                    
  WORKAREA                                        
  NEWREC 132 1                                    
IF ID EQ 'LAPSE'                                  
  MOVE THEREC    TO OUTREC1                
   ACCEPT  
   ENDIF  
   REJECT  
FIN      
/*      


This is driving me crazy since the rest of the code works, but this part does not! crazy.gif

This post has been edited by programming4life: 2 Apr, 2008 - 01:11 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Fast ReplyReply to this topicStart new topic
Time is now: 5/17/08 05:08AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month