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
 

 

Doubt regarding Parameters for file-aid execution.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
MKP

New User


Joined: 23 Aug 2006
Posts: 12
Location: Chennai

PostPosted: Fri Sep 29, 2006 7:58 pm    Post subject: Doubt regarding Parameters for file-aid execution.
Reply with quote

Hi All,
Can anyone explain me what is the usage of parameters mentioned in the below code. This code is given for FILE-AID execution.

****** ***************************** Top of Data ******************************
000001 $$DD01 USER FORM=MULTI,PADCHAR=C' ',MOVE=(217,4X'F0'),
000002 MOVE=(3,C'FILE SEPARATOR '),
000003 MOVE=(18,C'X'),WRITE=DD01O,OUT=1,
000004 ABEND=3
****** **************************** Bottom of Data ****************************

Thanks,
MKP
Back to top
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Fri Sep 29, 2006 8:18 pm    Post subject: Re: Doubt regarding Parameters for file-aid execution.
Reply with quote

The FORM=MULTI parameter allows for reprocessing of an input file after EOF is reached. Processing would continue with the next fundction at the start of the input file.

The PADCHAR=' ' pads the output files with blanks where data is not defined.

The MOVE=(217,4X'F0') puts 'F0F0F0F0' at position 217 of the output record.

The MOVE=(3,C'FILE SEPARATOR') overlays the literal 'FILE SEPARATOR' in position 3 of the output record.

The MOVE=(18,C'X') overlays the literal 'X' at position 18 of the output record.

The WRITE=DD01O will cause the output file to be written to the DD01O output DD statement.

The OUT=1 would indicate that processing stops after 1 record is written to the output file.

The ABEND=3 would cause the FILEAID step to terminate in the event an I/O error occurs. Processing would stop and the program would issue a cond code of 12.
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Fri Sep 29, 2006 8:31 pm    Post subject: Re: Doubt regarding Parameters for file-aid execution.
Reply with quote

Please note that MOVE=(217,4X'F0') places a hex 'F0' in positions 217-220 of the output record. In effect, position 217 of the output record will contain zeroes '0000' which are the equivalent of X'F0F0F0F0'
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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