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
 
Needs to replace the below FileAid with Sort Card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Bhuvanakp

New User


Joined: 29 Aug 2007
Posts: 19
Location: Chennai

PostPosted: Fri Sep 19, 2008 2:40 pm    Post subject: Needs to replace the below FileAid with Sort Card
Reply with quote

Hi,


Needs to replace the below FileAid with Sort Card.

$$DD01 DUMP OUT=11
Back to top
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Sep 19, 2008 2:46 pm    Post subject: Reply to: DUMP OUT
Reply with quote

Bhuvana,

Have seen so many posts on fileaid-sort card converions. It would be great if you can explain as to what this fileaid command does so that it would be easy for others to write a corresponding sort card.
Back to top
View user's profile Send private message
hchinnam

New User


Joined: 18 Oct 2006
Posts: 73

PostPosted: Fri Sep 19, 2008 2:49 pm    Post subject:
Reply with quote

Can you explain your question a bit clearly. how do you want your output should look like.
Back to top
View user's profile Send private message
Bhuvanakp

New User


Joined: 29 Aug 2007
Posts: 19
Location: Chennai

PostPosted: Fri Sep 19, 2008 2:53 pm    Post subject:
Reply with quote

Hi,

When I checked for the explanation of the Dump in FileAid card,
the below explanation I received:

Example 1:

$$DD01 DUMP OUT=5

Example 1 prints the first five records from the input dataset in a format that shows both the character and hexadecimal data. This application of DUMP is useful for packed and other nonprintable data.

Now I need to replace this with Sort Card so that it could prints the first five records from the input dataset in a format that shows both the character and hexadecimal data.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Sep 19, 2008 2:54 pm    Post subject: Reply to: DUMP OUT
Reply with quote

All,

Got the explanation from a manual.

Quote:
$$DD01 DUMP OUT=11


The above condition does the foll

- Generates a hexadecimal print for the first 11 records in the input file.

Bhuvana wants an equivalent SORT card doing the same.

Hope I am not wrong.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Sep 19, 2008 2:56 pm    Post subject:
Reply with quote

Has Bhuvana shown any evidence of reading his associated sort manuals ? Instead of just asking how rather than "I have tried, but .............."
Back to top
View user's profile Send private message
Bhuvanakp

New User


Joined: 29 Aug 2007
Posts: 19
Location: Chennai

PostPosted: Fri Sep 19, 2008 3:22 pm    Post subject:
Reply with quote

Hi,

I got the following info from the manual:

Example 1 prints the first five records from the input dataset in a format that shows both the character and hexadecimal data. .

I the underlined different from Generating hexadecimal print only for the first 11 records in the input file.


Please clarify.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Sep 19, 2008 9:50 pm    Post subject:
Reply with quote

Bhuvana,

What is the RECFM and LRECL of the input file?

It would help if you (or someone else) showed an example of the output FileAid actually produces for that command.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Fri Sep 19, 2008 10:17 pm    Post subject:
Reply with quote

Hello,

Here's a sample of the DUMP output produced by file-aid.

Input
Code:
//DD01     DD * 
1111             
2222             
3333             
4444             
//SYSIN    DD * 
$$DD01 DUMP OUT=2

Output
Code:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+---
F I L E - A I D  V8.9.0  19 - SEP - 2008   09.39.14                     PAGE 1                             
DD01=XXXXXXX.XXXXXXXX.JOB27096.D0000101.?    VOL=SYSOUT                                                     
                                                                                                           
REC        1 DATA   80                                                   
4900-00-000  DATA   80

CHAR 1111                         
ZONE FFFF4444444444444444444444444444444444444444444444444444444444444444444444444444
NUMR 11110000000000000000000000000000000000000000000000000000000000000000000000000000
                              ...1...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80
                                                                                                           
REC        2 DATA   80
CHAR 2222
ZONE FFFF4444444444444444444444444444444444444444444444444444444444444444444444444444
NUMR 22220000000000000000000000000000000000000000000000000000000000000000000000000000
                            ...1...5...10...15...20...25...30...35...40...45...50...55...60...65...70...75...80

Thanks,
Arun
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Sep 19, 2008 11:33 pm    Post subject:
Reply with quote

Hello,

Very similar output may be gotten from DITTO as well.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Sat Sep 20, 2008 2:49 am    Post subject:
Reply with quote

I can't match that exact layout, but here's a DFSORT job that will provide similar information using a different layout:

Code:

//DUMP  EXEC  PGM=ICEMAN                               
//SYSOUT    DD  SYSOUT=*                               
//SORTIN DD *                                         
1111                                                   
2222                                                   
3333                                                   
4444
/*                                                   
//SORTOUT DD SYSOUT=*                                 
//SYSIN    DD    *                                     
  OPTION COPY                                         
  OUTFIL BUILD=(8C'-',/,C'RECORD ',SEQNUM,8,ZD,//,     
     C'CHAR ',1,80,//,                                 
     C'HEX  ',1,80,HEX)                               
/*
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

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