File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ void printQSGM(qsgm *p)
25
25
ADDS32 ( "Length_Min" ,p -> qsgmlvmin );
26
26
ADDS32 ( "Requests" ,p -> qsgmcount );
27
27
ADDBYTE ("Storage_Class" ,p -> qsgmscls );
28
- ADDU64 ( "CSECT" ,p -> qsgmcsect );
28
+ ADDSTREN ( "CSECT" ,( char * ) & p -> qsgmcsect , 8 );
29
29
ADDS32 ( "CSECT_Offset" ,p -> qsgmoffset );
30
30
31
31
SMFPRINTSTOP ;
Original file line number Diff line number Diff line change @@ -25,7 +25,11 @@ void printQSPH(qsph *p)
25
25
ADDU16 ("Record_Size" ,p -> qsphbsize );
26
26
ADDU16 ("Records_per_Segment" ,p -> qsphbcnt );
27
27
ADDU32 ("PHB_Count" ,p -> qsphcount );
28
- ADDU64 ("Dataspace_Name" ,p -> qsphdspnm );
28
+ if (p -> qsphflags & QSPHDSPC ) {
29
+ ADDSTREN ("Dataspace_Name" ,(char * )& p -> qsphdspnm ,8 );
30
+ } else {
31
+ ADDSTR ("Dataspace_Name" ," " ,8 );
32
+ }
29
33
ADDSTREN ("Name" ,p -> qsphname ,48 );
30
34
31
35
ADDSTR ("Attr_Fixed" , ((p -> qsphflags & QSPHFIXED )?"Yes" :"No" ),3 );
You can’t perform that action at this time.
0 commit comments